curlconverter: Tools to Transform 'cURL' Command-Line Calls to 'httr' Requests
Version 0.7.0

Deciphering web/'REST' 'API' and 'XHR' calls can be tricky, which is one reason why internet browsers provide "Copy as cURL" functionality within their "Developer Tools" pane(s). These 'cURL' command-lines can be difficult to wrangle into an 'httr' 'GET' or 'POST' request, but you can now "straighten" these 'cURLs' either from data copied to the system clipboard or by passing in a vector of 'cURL' command-lines and getting back a list of parameter elements which can be used to form 'httr' requests. You can also make a complete/working/callable 'httr::VERB' function right from the tools provided.

Getting started

Package details

AuthorBob Rudis [aut, cre], Nick Carneiro [ctb]
Date of publication2016-03-29 20:04:36
MaintainerBob Rudis <[email protected]>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the curlconverter package in your browser

Any scripts or data that you put into this service are public.

curlconverter documentation built on Jan. 15, 2017, 3:04 p.m.