pio_request {previsionio} | R Documentation |
Request the platform. Thanks to an endpoint, the url and the API, you can create request.
Description
Request the platform. Thanks to an endpoint, the url and the API, you can create request.
Usage
pio_request(endpoint, method, data = NULL, upload = FALSE)
Arguments
endpoint |
end of the url of the API call. |
method |
the method needed according the API (Available: POST, GET, DELETE). |
data |
object to upload when using method POST. |
upload |
used parameter when uploading dataset (for encoding in API call), don't use it. |
Value
list - response from the request.
Examples
## Not run: pio_request(paste0('/jobs/', experiment$jobId), DELETE)
[Package previsionio version 11.7.0 Index]