checkem <- function(url) {
url = paste0(url, "/api/3/action/status_show")
x = crul::HttpClient$new(url, opts = list(followlocation=TRUE))
crul::ok(x, verb = "get")
}
out <- lapply(servers(), function(w) {
data.frame(url=w, ok=checkem(w))
})
df <- dplyr::bind_rows(out)
df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.