Skip to content

Replace httr with crul? #97

Open
Open
@katrinleinweber

Description

After switching from the old RCurl (which required repairing unescaped whitespace) to the more current, R-escaping-friendly httr, I could keep an eye on the crul-beta. The replacement code would be:

x <- crul::HttpClient$new(URL, auth = crul::auth(cred[1], cred[2]))$get()
jsonlite::fromJSON(x$parse("UTF-8"))

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions