Curl works, but HTTP doesn't #24884
-
For example,
However, when I attempt the same query using HTTP
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you’re talking about httpie, use piping:
|
Beta Was this translation helpful? Give feedback.
-
It seems there were a couple issues on my end. For example, one difference was that cURL automatically adds the |
Beta Was this translation helpful? Give feedback.
It seems there were a couple issues on my end. For example, one difference was that cURL automatically adds the
User-Agent
which one has to add manually using HTTP. I couldn’t figure out the issue with R’s http, but after making sure the query were properly escaped with HTTP.jl I got it to work.