httr v0.6.0


Monthly downloads



by Hadley Wickham

Tools for Working with URLs and HTTP

Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control additional request components (authenticate(), add_headers() and so on).

Functions in httr

Name Description
DELETE Send a DELETE request.
url_ok Check for an http OK status.
use_proxy Use a proxy to connect to the internet.
modify_url Modify a url.
POST POST file to a server.
sign_oauth Sign an OAuth request
PATCH Send PATCH request to a server.
init_oauth1.0 Retrieve OAuth 1.0 access token.
set_cookies Set cookies.
content_type Set content-type and accept headers.
oauth1.0_token Generate an oauth1.0 token.
hmac_sha1 HMAC SHA1
set_config Set (and reset) global httr configuration.
cache_info Compute caching information for a response.
Token-class OAuth token objects.
httr httr makes http easy.
oauth_exchanger Walk the user through the OAuth2 dance without a local webserver.
config Set curl options.
init_oauth2.0 Retrieve OAuth 2.0 access token.
oauth_endpoints Popular oauth endpoints.
oauth_service_token Generate OAuth token for service accounts.
VERB VERB a url.
parse_http_date Parse and print http dates.
parse_media Parse a media type.
response The response object.
HEAD Get url HEADers.
oauth_listener Create a webserver to listen for OAuth callback.
BROWSE Open specified url in browser.
brew_dr Diagnose common configuration problems
status_code Extract status code from response.
timeout Set maximum request time.
oauth_endpoint Describe an OAuth endpoint.
progress Add a progress bar.
oauth_callback The oauth callback url.
user_agent Set user agent.
write_function S3 object to define respose writer.
GET GET a url.
write_disk Control where the response body is written.
http_condition Generate a classed http condition.
with_config Execute code with configuration set.
content Extract content from a request.
guess_media Guess the media type of a path from its extension.
handle_pool Maintain a pool of handles.
jwt_signature Generate a JWT signature given credentials.
http_status Give information on the status of a request.
http_error Take action on http error.
cookies Access cookies in a response.
add_headers Add additional headers to a request.
safe_callback Generate a safe R callback.
httr_options List available options.
write_stream Process output in a streaming manner.
parse_url Parse and build urls according to RFC1808.
oauth2.0_token Generate an oauth2.0 token.
oauth_signature Generate oauth signature.
handle Create a handle tied to a particular host.
has_content Does the request have content associated with it?
oauth_app Create an OAuth application.
revoke_all Revoke all OAuth tokens in the cache.
upload_file Upload a file with POST or PUT.
verbose Give verbose output.
url_success Check for an http success status.
PUT Send PUT request to server.
authenticate Use http authentication.
headers Extract the headers from a response
insensitive Create a vector with case insensitive name matching.
No Results!

Last month downloads


VignetteBuilder knitr
License MIT + file LICENSE
Packaged 2014-12-13 14:35:35 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2014-12-13 17:57:49

Include our badge in your README