httr1.4.7 package

Tools for Working with URLs and HTTP

add_headers

Add additional headers to a request.

authenticate

Use http authentication.

BROWSE

Open specified url in browser.

cache_info

Compute caching information for a response.

config

Set curl options.

content

Extract content from a request.

content_type

Set content-type and accept headers.

cookies

Access cookies in a response.

DELETE

Send a DELETE request.

GET

GET a url.

get_callback

Install or uninstall a callback function

guess_media

Guess the media type of a path from its extension.

handle

Create a handle tied to a particular host.

handle_pool

Maintain a pool of handles.

has_content

Does the request have content associated with it?

HEAD

Get url HEADers.

headers

Extract the headers from a response

hmac_sha1

HMAC SHA1

http_condition

Generate a classed http condition.

http_error

Check for an http error.

http_status

Give information on the status of a request.

http_type

Extract the content type of a response

httr-package

httr makes http easy.

httr_dr

Diagnose common configuration problems

httr_options

List available options.

init_oauth1.0

Retrieve OAuth 1.0 access token.

init_oauth2.0

Retrieve OAuth 2.0 access token.

insensitive

Create a vector with case insensitive name matching.

jwt_signature

Generate a JWT signature given credentials.

modify_url

Modify a url.

oauth_app

Create an OAuth application.

oauth_callback

The oauth callback url.

oauth_endpoint

Describe an OAuth endpoint.

oauth_endpoints

Popular oauth endpoints.

oauth_exchanger

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

oauth_listener

Create a webserver to listen for OAuth callback.

oauth_service_token

Generate OAuth token for service accounts.

oauth_signature

Generate oauth signature.

oauth1.0_token

Generate an oauth1.0 token.

oauth2.0_token

Generate an oauth2.0 token.

parse_http_date

Parse and print http dates.

parse_media

Parse a media type.

parse_url

Parse and build urls according to RFC3986.

PATCH

Send PATCH request to a server.

POST

POST file to a server.

progress

Add a progress bar.

PUT

Send PUT request to server.

response

The response object.

RETRY

Retry a request until it succeeds.

revoke_all

Revoke all OAuth tokens in the cache.

set_config

Set (and reset) global httr configuration.

set_cookies

Set cookies.

sha1_hash

SHA1 hash

sign_oauth

Sign an OAuth request

status_code

Extract status code from response.

stop_for_status

Take action on http error.

timeout

Set maximum request time.

Token-class

OAuth token objects.

upload_file

Upload a file with POST() or PUT().

use_proxy

Use a proxy to connect to the internet.

user_agent

Set user agent.

VERB

VERB a url.

verbose

Give verbose output.

with_config

Execute code with configuration set.

write_disk

Control where the response body is written.

write_function

S3 object to define response writer.

write_stream

Process output in a streaming manner.

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

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2023-08-15