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

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.

Install the latest version of this package by entering the following in R:
install.packages("curlconverter")
AuthorBob Rudis [aut, cre], Nick Carneiro [ctb]
Date of publication2016-03-29 20:04:36
MaintainerBob Rudis <bob@rudis.net>
LicenseAGPL
Version0.7.0

View on CRAN

Files

curlconverter
curlconverter/inst
curlconverter/inst/extdata
curlconverter/inst/extdata/curl4.txt
curlconverter/inst/extdata/curl7.txt
curlconverter/inst/extdata/curl8.txt
curlconverter/inst/extdata/curl2.txt
curlconverter/inst/extdata/curl9.txt
curlconverter/inst/extdata/curl1.txt
curlconverter/inst/extdata/curl6.txt
curlconverter/inst/extdata/curl3.txt
curlconverter/inst/extdata/curl5.txt
curlconverter/inst/doc
curlconverter/inst/doc/using_curlconvertr.Rmd
curlconverter/inst/doc/using_curlconvertr.html
curlconverter/inst/doc/using_curlconvertr.R
curlconverter/inst/js
curlconverter/inst/js/in.js
curlconverter/inst/js/curl-bundle.js
curlconverter/inst/js/README
curlconverter/inst/js/npm-debug.log
curlconverter/tests
curlconverter/tests/testthat.R
curlconverter/tests/testthat
curlconverter/tests/testthat/test-curconverterl.R
curlconverter/NAMESPACE
curlconverter/NEWS
curlconverter/R
curlconverter/R/curlconverter.r
curlconverter/R/curlconverter-package.r
curlconverter/R/utils.r
curlconverter/R/make_req.r
curlconverter/R/zzz.r
curlconverter/R/parse_query.r
curlconverter/vignettes
curlconverter/vignettes/using_curlconvertr.Rmd
curlconverter/README.md
curlconverter/MD5
curlconverter/build
curlconverter/build/vignette.rds
curlconverter/DESCRIPTION
curlconverter/man
curlconverter/man/curlconverter.Rd curlconverter/man/pipe.Rd curlconverter/man/straighten.Rd curlconverter/man/parse_query.Rd curlconverter/man/make_req.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.