dxHTTPRequest(resource, data, headers = list(), jsonifyData = TRUE, alwaysRetry = FALSE)
RJSONIO::toJSON. If jsonifyData is set to FALSE,
it is treated as a string value instead and passed
through directly.RJSONIO::toJSON
on data to create the JSON string or pass through
the value of data directly. (Default is
TRUE.)If the API call is successful, the parsed JSON of the API
server response is returned (using
RJSONIO::fromJSON).
Makes a POST HTTP Request to the DNAnexus API Server using stored configuration values.
# Basic API call; use RJSONIO::namedEmptyList for an empty hash ## Not run: dxHTTPRequest("/gtable-xxxx/get", namedEmptyList) # API call with nonempty input hash ## Not run: dxHTTPRequest("/record/new", list("project"="project-xxxx"))
printenv