I am trying to access a web service from R using RCurl. The web service uses Kerberos authentication.
Testing using curl on the command line works fine e.g.
curl --negotiate -u: http://reuxeuls199:8084/reports-ws/api/r/1.0/vesselTracking?region-name=ECC&start-date-time=01/10/2014
However in R I am unable to make it work.
ReportsProdURL <- "http://reuxeuls199:8084/reports-ws/api/r/1.0/vesselTracking?region- name=ECC&start-date-time=01/10/2014"
URL <- getURL(ReportsProdURL, verbose=TRUE, .opts=curlOptions(username=":"))
I also tried using the httpauth
option set to gssnegotiate
, but that fails also.