cookie | R Documentation |
Acquire a cookie if necessary
cookie(
url,
init_url = NULL,
post = NULL,
payload = NULL,
init_post = NULL,
init_payload = NULL,
curl_verbose = FALSE
)
url |
Character. URL to download to get the cookie. |
init_url |
Character. An initial URL to download to get the cookie, before downloading “url“ with the cookie. |
post |
List: HTTP POST parameters. |
payload |
Data to send as payload. |
init_post |
List: HTTP POST parameters for “init_url“. |
init_payload |
Data to send as payload with “init_url“. |
curl_verbose |
Logical. Perform CURL requests in verbose mode for debugging purposes. |
A list with cache file path, cookies and response headers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.