Learn R Programming

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

httr (version 1.0.0)

Tools for Working with URLs and HTTP

Description

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

Copy Link

Version

Install

install.packages('httr')

Monthly Downloads

739,444

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 25th, 2015

Functions in httr (1.0.0)

PUT

Send PUT request to server.
handle

Create a handle tied to a particular host.
add_headers

Add additional headers to a request.
VERB

VERB a url.
url_success

Check for an http success status.
oauth_listener

Create a webserver to listen for OAuth callback.
parse_url

Parse and build urls according to RFC1808.
http_condition

Generate a classed http condition.
http_error

Take action on http error.
oauth_signature

Generate oauth signature.
init_oauth1.0

Retrieve OAuth 1.0 access token.
cookies

Access cookies in a response.
write_function

S3 object to define response writer.
hmac_sha1

HMAC SHA1
oauth_exchanger

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

Diagnose common configuration problems
handle_pool

Maintain a pool of handles.
write_stream

Process output in a streaming manner.
Token-class

OAuth token objects.
revoke_all

Revoke all OAuth tokens in the cache.
user_agent

Set user agent.
modify_url

Modify a url.
safe_callback

Generate a safe R callback.
status_code

Extract status code from response.
with_config

Execute code with configuration set.
httr_options

List available options.
parse_media

Parse a media type.
progress

Add a progress bar.
config

Set curl options.
content_type

Set content-type and accept headers.
content

Extract content from a request.
http_status

Give information on the status of a request.
oauth2.0_token

Generate an oauth2.0 token.
cache_info

Compute caching information for a response.
oauth_service_token

Generate OAuth token for service accounts.
jwt_signature

Generate a JWT signature given credentials.
oauth_endpoints

Popular oauth endpoints.
httr

httr makes http easy.
has_content

Does the request have content associated with it?
oauth_app

Create an OAuth application.
use_proxy

Use a proxy to connect to the internet.
PATCH

Send PATCH request to a server.
url_ok

Check for an http OK status.
headers

Extract the headers from a response
BROWSE

Open specified url in browser.
insensitive

Create a vector with case insensitive name matching.
oauth_endpoint

Describe an OAuth endpoint.
timeout

Set maximum request time.
GET

GET a url.
init_oauth2.0

Retrieve OAuth 2.0 access token.
authenticate

Use http authentication.
oauth1.0_token

Generate an oauth1.0 token.
parse_http_date

Parse and print http dates.
oauth_callback

The oauth callback url.
upload_file

HEAD

Get url HEADers.
POST

POST file to a server.
write_disk

Control where the response body is written.
DELETE

Send a DELETE request.
sign_oauth

Sign an OAuth request
set_config

Set (and reset) global httr configuration.
response

The response object.
verbose

Give verbose output.
set_cookies

Set cookies.
guess_media

Guess the media type of a path from its extension.