httr v0.6.1


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

Last month downloads


VignetteBuilder knitr
License MIT + file LICENSE
Packaged 2014-12-31 20:19:10 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2015-01-01 05:49:55

Include our badge in your README