# # GET /session-by-cookie
res <- httr::GET(
url = paste0(url, "/session-by-cookie"),
httr::authenticate(
user = secret_key,
password = ""
),
query = list(
# TODO: create example cookie with session for testing
hashed_cookie = ""
)
)
dat <- jsonlite::fromJSON(
httr::content(res, "text", encoding = "UTF-8")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.