Make a HTTP request
MakeDataRobotRequest(requestMethod, routeString, addUrl = TRUE,
returnRawResponse = TRUE, as = "json", simplifyDataFrame = TRUE,
body = NULL, timeout = DefaultHTTPTimeout, encode = NULL, ...)
function. A function from httr (e.g., `httr::GET`, `httr::POST`) to use.
character. The path to make the request on.
logical. Should the endpoint be prepended to the routeString? (Default TRUE).
logical. Whether to return the raw httr respnose object (as opposed to postprocessing and returning the content of that object, which is the default.)
character. What should the resulting data be interpreted as? (default "json").
logical. Whether to invoke jsonlite::simplifyDataFrame
.
list. The body of the request.
numeric. How many seconds before the request times out?
character. What should the body be encoded as for the JSON request?
list. Extra arguments to pass to the requestMethod