faasr_ow_httr_request {FaaSr} | R Documentation |
faasr_ow_httr_request
Description
the help function to send the curl request to the openwhisk by using the "httr" library.
Usage
faasr_ow_httr_request(
faasr,
server,
action,
type,
body = list(),
ssl = TRUE,
namespace = NULL
)
Arguments
faasr |
a list form of the JSON file |
server |
a string for the target server |
action |
a string for the target action: /actions, /triggers, /rules |
type |
REST API values; GET/PUT/DELETE/PATCH/POST |
body |
a list of body |
ssl |
SSL CA check; for the SSL certificate: FALSE |
namespace |
a string for the specific namespace e.g., /whisk.system |
Value
an integer value for the response
[Package FaaSr version 1.4.4 Index]