httr

0th

Percentile

httr makes http easy.

httr is organised around the five most common http verbs: GET, PATCH, POST, HEAD, PUT, and DELETE.

Details

Each request returns a response object which provides easy access to status code, cookies, headers, timings, and other useful info. The content of the request is available as a raw vector (content), character vector (text_content), or parsed into an R object (parsed_content), currently for html, xml, json, png and jpeg).

Requests can be modified by various config options like set_cookies, add_headers, authenticate, use_proxy, verbose, and timeout

httr supports OAuth 1.0 and 2.0. Use oauth1.0_token and oauth2.0_token get user tokens, and sign_ouath1.0 and sign_ouath2.0 to sign requests. The demos directory has six demos of using OAuth: three for 1.0 (linkedin,twitter and vimeo) and three for 2.0 (facebook, github, google).

Aliases
  • httr
  • httr-package
Documentation reproduced from package httr, version 0.1.1, License: MIT

Community examples

Looks like there are no examples yet.