library(httptest)
library(httr)
if (Sys.getenv("MOCK_BYPASS") == "true") {
with_mock_api <- force
} else if (Sys.getenv("MOCK_BYPASS") == "capture") {
with_mock_api <- capture_requests
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.