Perform HTTP Requests and Process the Responses


[Up] [Top]

Documentation for package ‘httr2’ version 0.2.2

Help Pages

curl_help Translate curl syntax to httr2
curl_translate Translate curl syntax to httr2
jwt_claim Create and encode a JWT
jwt_encode_hmac Create and encode a JWT
jwt_encode_sig Create and encode a JWT
last_request Retrieve most recent request/response
last_response Retrieve most recent request/response
local_mock Temporarily mock requests
multi_req_perform Perform multiple requests in parallel
oauth_client Create an OAuth client
oauth_client_req_auth OAuth client authentication
oauth_client_req_auth_body OAuth client authentication
oauth_client_req_auth_header OAuth client authentication
oauth_client_req_auth_jwt_sig OAuth client authentication
oauth_token Create an OAuth token
obfuscate Obfuscate mildly secret information
obfuscated Obfuscate mildly secret information
request Create a new HTTP request
req_auth_basic Authenticate request with HTTP basic authentication
req_auth_bearer_token Authenticate request with bearer token
req_body_file Send data in request body
req_body_form Send data in request body
req_body_json Send data in request body
req_body_multipart Send data in request body
req_body_raw Send data in request body
req_cache Automatically cache requests
req_dry_run Perform a dry run
req_error Control handling of HTTP errors
req_headers Modify request headers
req_method Set HTTP method in request
req_oauth_auth_code OAuth authentication with authorization code
req_oauth_bearer_jwt OAuth authentication with a bearer JWT
req_oauth_client_credentials OAuth authentication with client credentials
req_oauth_device OAuth authentication with device flow
req_oauth_password OAuth authentication with username and password
req_oauth_refresh OAuth authentication with a refresh token
req_options Set arbitrary curl options in request
req_perform Perform a request
req_proxy Use a proxy for a request
req_retry Control when a request will retry, and how long it will wait between tries
req_stream Perform a request, streaming data back to R
req_template Set request method/path from a template
req_throttle Throttle a request by automatically adding a delay
req_timeout Set time limit for a request
req_url Modify request URL
req_url_path Modify request URL
req_url_path_append Modify request URL
req_url_query Modify request URL
req_user_agent Set user-agent for a request
req_verbose Show extra output when request is performed
resp_body_html Extract body from response
resp_body_json Extract body from response
resp_body_raw Extract body from response
resp_body_string Extract body from response
resp_body_xml Extract body from response
resp_check_status Extract HTTP status from response
resp_content_type Extract response content type and encoding
resp_date Extract request date from response
resp_encoding Extract response content type and encoding
resp_header Extract headers from a response
resp_headers Extract headers from a response
resp_header_exists Extract headers from a response
resp_is_error Extract HTTP status from response
resp_link_url Parse link URL from a response
resp_raw Show the raw response
resp_retry_after Extract wait time from a response
resp_status Extract HTTP status from response
resp_status_desc Extract HTTP status from response
secret_decrypt Secret management
secret_encrypt Secret management
secret_has_key Secret management
secret_make_key Secret management
secret_read_rds Secret management
secret_write_rds Secret management
url_build Parse and build URLs
url_parse Parse and build URLs
with_mock Temporarily mock requests
with_verbosity Temporarily set verbosity for all requests