httr
httr copied to clipboard
httr: a friendly http package for R
Original request via `curl`: ```sh curl 'https://api.gdc.cancer.gov/files?size=1' ``` Using `httr::POST` with a simple query returns XML rather than JSON format, despite the `Content-Type`. ``` r library(httr) content(POST("https://api.gdc.cancer.gov/files?", query = list(...
In oauth2.0_access_token, a user have the possibility to add its own parameters to the POST request. Those parameters are merged with endpoints and app parameters. When a conflict is detected,...
Hi, Could someone help me with the following issue: When i run the code below, I get the error message : Error in curl::curl_fetch_memory(url, handle = handle) : Failed to...
Unable to send httr POST request with proxy settings. error in curl_fetch_memory(url handle = h) timeout ..... i tried with other languages and got the result. someone please help.
Using R on a work computer*, my user account name contains an apostrophe. This is messing up the installation of `httr`. My issue is similar to these two posts: https://stackoverflow.com/questions/65462881/cannot-download-packages-from-github-from-unexpected-symbol...
With `httr` 1.4.2: ``` > httr::GET("https://e4ftl01.cr.usgs.gov/MOTA/MCD19A2.006/2005.01.01", httr::timeout(1)) Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [e4ftl01.cr.usgs.gov] Operation timed out after 1001 milliseconds with 0 out of 0 bytes...
I haven't used `curl` in a long time, so I'm relying on the `httr` documentation to help me know how to make API calls. I suspect the primary userbase of...
I am `shinytest`ing a Shiny app, and while each test runs fine on its own, one specific test fails when run in a long sequence of some 20 other tests....
Some of the **httr** verbs call `body_config()` at some point, which in turn calls `compact()` to remove length-zero elements. I'm guessing that this was originally intended to remove `NULL`s, but...
I believe PATCH is broken. Below is a reprex where a POST from httr works, the PATCH does not, and the PATCH from httr2 does work. ```r library(jsonlite) library(httr) library(httr2)...