I am trying to read data from my company intranet sharepoint.
require(httr)
url <- "http://<domain>/<path>/_vti_bin/ListData.svc/<something>"
r <- GET(url)
The problem is, access to Sharepoint uses Windows authentication. The above, expectedly, gave me 401 Unauthorized error.
How can I incorporate my windows authentication into the request in R, without typing my credential in clear text in the GET
parameter? (using authenticate()
with my credentials do work).
authenticate()
function in thehttr
package? – MrFlick