faasr_httr_request: faasr_httr_request
Description
the help function to send the curl request to the github
by using the "httr" library.
Usage
faasr_httr_request(token, url, body = list(), type)
Value
response: response status; 200/202/204/400/etc
Arguments
- token
a string for the github token
- url
a string of url
- body
a list of body
- type
REST API values; GET/PUT/DELETE/PATCH/POST