omegahat / RCurl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convert curl command into rcurl

simran-k opened this issue · comments

How do I convert this curl command

curl -v -u 'username:password' -X GET 'https://domain/api/v2/tickets/'

into Rcurl?

Untested -
getURLContent(url, verbose = TRUE, userpwd = "user:password")

Best place to ask these is on the R-help list rather than here.