Description Usage Arguments Examples
Headers
1 2 3 | api_headers(.data, ..., .dots)
api_headers_(.data, ..., .dots)
|
.data |
Result of a call to |
... |
Key value pairs of headers |
.dots |
Used to work around non-standard evaluation |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
api('https://api.github.com/') %>%
api_config(verbose()) %>%
api_headers(`X-FARGO-SEASON` = 3) %>%
peep
api('http://httpbin.org/headers') %>%
api_config(verbose()) %>%
api_headers(`X-FARGO-SEASON` = 3, `X-NARCOS-SEASON` = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.