I am building some functions to pull csv files from a website (in this case Workday) that requires basic authentication. I am noticing httr is not performing as expected
When I use the following,
httr::GET('https://wd5-services1.myworkday.com/ccx/service/')
I get this error
Error in curl::curl_fetch_memory(url, handle = handle) :
Failure when receiving data from the peer
When I use
RCurl::getURL('https://wd5-services1.myworkday.com/ccx/service/')
I get the following (which is the result i want!)
[1] "500 : Invalid request"
My question is why is httr erroring out, when RCurl (and cmd line curl too) is returning the proper http error?