httr vs curl (at work)

Hi,

I am trying to make a request to some API via httr but am getting timeout error after setting the proxy in httr.
When i do the same thing on curl it works fine. (without proxy)
Any idea what is the difference?

Curl (Working)
req <- curl_fetch_memory("URL", handle = h)

Httr (timeout error: Error in curl::curl_fetch_memory(url, handle = handle) : )
req <- POST(url = "URL",
body = list(),
timeout(20))

Please advise.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.