Tools for Working with URLs and HTTP


[Up] [Top]

Documentation for package ‘httr’ version 1.4.7

Help Pages

accept Set content-type and accept headers.
accept_json Set content-type and accept headers.
accept_xml Set content-type and accept headers.
add_headers Add additional headers to a request.
authenticate Use http authentication.
BROWSE Open specified url in browser.
build_url Parse and build urls according to RFC3986.
cache_info Compute caching information for a response.
config Set curl options.
content Extract content from a request.
content_type Set content-type and accept headers.
content_type_json Set content-type and accept headers.
content_type_xml Set content-type and accept headers.
cookies Access cookies in a response.
curl_docs List available options.
DELETE Send a DELETE request.
GET GET a url.
get_callback Install or uninstall a callback function
handle Create a handle tied to a particular host.
HEAD Get url HEADers.
headers Extract the headers from a response
http_date Parse and print http dates.
http_error Check for an http error.
http_status Give information on the status of a request.
http_type Extract the content type of a response
httr_dr Diagnose common configuration problems
httr_options List available options.
message_for_status Take action on http error.
modify_url Modify a url.
oauth1.0_token Generate an oauth1.0 token.
oauth2.0_token Generate an oauth2.0 token.
oauth_app Create an OAuth application.
oauth_endpoint Describe an OAuth endpoint.
oauth_endpoints Popular oauth endpoints.
oauth_service_token Generate OAuth token for service accounts.
parsed_content Extract content from a request.
parse_http_date Parse and print http dates.
parse_url Parse and build urls according to RFC3986.
PATCH Send PATCH request to a server.
POST POST file to a server.
progress Add a progress bar.
PUT Send PUT request to server.
rerequest Compute caching information for a response.
reset_config Set (and reset) global httr configuration.
response The response object.
RETRY Retry a request until it succeeds.
revoke_all Revoke all OAuth tokens in the cache.
set_callback Install or uninstall a callback function
set_config Set (and reset) global httr configuration.
set_cookies Set cookies.
status_code Extract status code from response.
stop_for_status Take action on http error.
text_content Extract content from a request.
timeout Set maximum request time.
upload_file Upload a file with 'POST()' or 'PUT()'.
url_ok Check for an http error.
url_success Check for an http error.
user_agent Set user agent.
use_proxy Use a proxy to connect to the internet.
VERB VERB a url.
verbose Give verbose output.
warn_for_status Take action on http error.
with_config Execute code with configuration set.
with_verbose Execute code with configuration set.
write_disk Control where the response body is written.
write_memory Control where the response body is written.
write_stream Process output in a streaming manner.