Learn R Programming

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

httr (version 0.2)

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.2

License

MIT

Maintainer

Hadley Wickham

Last Published

October 11th, 2012

Functions in httr (0.2)

http_error

Take action on http error.
authenticate

Use http authentication.
PATCH

Send PATCH request to a server.
handle

Create a handle tied to a particular host.
modify_url

Modify a url.
config

Set curl options.
GET

GET a url.
http_status

Give information on the status of a request.
content

Extract content from a request.
oauth_app

Create an OAuth application.
parse_media

Parse a media type.
insensitive

Create a vector with case insensitive name matching.
sign_oauth2.0

Sign an OAuth 2.0 request
verbose

Give verbose output.
new_bin

Make bin at http://requestb.in/
add_headers

Add additional headers to a request.
user_agent

Set user agent.
use_proxy

Use a proxy to connect to the internet.
sign_oauth1.0

Sign an OAuth 1.0 request
DELETE

Send a DELETE request.
HEAD

Get url HEADers.
with_config

Execute code with configuration set.
timeout

Set maximum request time.
oauth2.0_token

Retrieve OAuth 2.0 access token.
oauth_endpoint

Describe an OAuth endpoint.
httr

httr makes http easy.
oauth_callback

The oauth callback url.
oauth_listener

Create a webserver to listen for OAuth callback.
guess_media

Guess the media type of a path from it's extension.
handle_pool

Maintain a pool of handles.
upload_file

response

The response object.
url_success

Check for an http success status.
PUT

Send PUT request to server.
set_cookies

Set cookies.
oauth1.0_token

Retrieve OAuth 1.0 acces token.
parse_url

Parse and build urls according to RFC1808.
BROWSE

Open specified url in browser.
hmac_sha1

HMAC SHA1
url_ok

Check for an http OK status.
POST

POST file to a server.
set_config

Set (and reset) global httr configuration.