Skip to content

Commit

Permalink
docs: change link to httr2 in routing and input vignette (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed Mar 15, 2024
1 parent 56a6949 commit 52fdc8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ haproxy
htmlwidget
http
httpuv
httr
httr2
imposter
integrations
interpretable
Expand Down
2 changes: 1 addition & 1 deletion vignettes/routing-and-input.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Plumber will attempt to parse the request body in one using allowed [parsers](ht
#### Files handling note
When dealing with binary parameters, Plumber will return a named list of raw vector. The names in the list are the original uploaded filenames. Raw values are binary content of each file.

Unfortunately, crafting a request with a message body requires a bit more work than making a `GET` request with a query string from your web browser, but you can use tools like `curl` on the command line or the [httr R package](https://github.com/hadley/httr/). We'll use `curl` for the examples below.
Unfortunately, crafting a request with a message body requires a bit more work than making a `GET` request with a query string from your web browser, but you can use tools like `curl` on the command line or the [httr2 R package](https://httr2.r-lib.org). We'll use `curl` for the examples below.

```{r, eval = FALSE, code = readLines("files/apis/03-04-body.R")}
```
Expand Down

0 comments on commit 52fdc8f

Please sign in to comment.