Send httr requests to Qualtrics API
qualtrics_api_request(
verb = c("GET", "POST"),
url = url,
query = NULL,
body = NULL,
as = c("parsed", "raw"),
...
)
Type of request to be sent (@seealso httr::VERB()
)
Qualtrics endpoint URL created by generate_url()
functions
Optional query parameters used by some endpoints
Options created by create_raw_payload()
function
type of content to return, passed to as
in httr::content().
current options "parsed" (since we get JSON mostly), "raw" (response .zips)
arguments passed to httr::content when parsing
If the request to the Qualtrics API made by this function fails, the request will be retried. If you see these failures on a 500 error (such as a 504 error) be patient while the request is retried; it will typically succeed on retrying. If you see other types of errors, retrying is unlikely to help.