Learn R Programming

⚠️There's a newer version (1.4.7) of this package.Take me there.

httr (version 0.3)

Tools for working with URLs and HTTP

Description

Provides useful tools for working with HTTP connections. Is a simplified wrapper built on top of RCurl. It is much much less configurable but because it only attempts to encompass the most common operations it is also much much simpler.

Copy Link

Version

Install

install.packages('httr')

Monthly Downloads

1,080,143

Version

0.3

License

MIT + file LICENSE

Maintainer

Hadley Wickham

Last Published

March 20th, 2014

Functions in httr (0.3)

insensitive

Create a vector with case insensitive name matching.
handle

Create a handle tied to a particular host.
handle_pool

Maintain a pool of handles.
DELETE

Send a DELETE request.
sign_oauth

Sign an OAuth request
HEAD

Get url HEADers.
oauth_endpoint

Describe an OAuth endpoint.
PUT

Send PUT request to server.
user_agent

Set user agent.
Token-class

OAuth token objects.
new_bin

Make bin at http://requestb.in/
init_oauth2.0

Retrieve OAuth 2.0 access token.
config

Set curl options.
oauth_exchanger

Walk the user through the OAuth2 dance without a local webserver.
oauth_callback

The oauth callback url.
parse_media

Parse a media type.
http_condition

Generate a classed http condition.
hmac_sha1

HMAC SHA1
timeout

Set maximum request time.
oauth_app

Create an OAuth application.
BROWSE

Open specified url in browser.
PATCH

Send PATCH request to a server.
oauth_listener

Create a webserver to listen for OAuth callback.
oauth_endpoints

Popular oauth endpoints.
POST

POST file to a server.
parse_url

Parse and build urls according to RFC1808.
verbose

Give verbose output.
use_proxy

Use a proxy to connect to the internet.
httr

httr makes http easy.
url_ok

Check for an http OK status.
http_status

Give information on the status of a request.
authenticate

Use http authentication.
content

Extract content from a request.
oauth2.0_token

Generate an oauth2.0 token.
guess_media

Guess the media type of a path from its extension.
new_token

Generate and initialise new token.
set_cookies

Set cookies.
http_error

Take action on http error.
GET

GET a url.
init_oauth1.0

Retrieve OAuth 1.0 access token.
upload_file

oauth1.0_token

Generate an oauth1.0 token.
modify_url

Modify a url.
add_headers

Add additional headers to a request.
with_config

Execute code with configuration set.
set_config

Set (and reset) global httr configuration.
response

The response object.
url_success

Check for an http success status.