| axprism_request | R Documentation |
Generic escape hatch for any of the API's 165+ endpoints. Returns parsed JSON (a list). Honors retries/backoff and raises informative errors.
axprism_request(client, method, path, query = list(), body = NULL)
client |
An |
method |
HTTP method: "GET", "POST", or "DELETE". |
path |
Endpoint path beginning with |
query |
Named list of query parameters (NULLs dropped). |
body |
Named list sent as a JSON request body (for POST). |
Parsed response (named list).
client <- axprism_client(api_key = "demo-key")
## Not run:
# Requires network access and a valid API key.
axprism_request(client, "GET", "/api/v1/health")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.