#* This is an example of an UNSAFE endpoint which
#* does not sanitize user input
#* @get /
function(file) {
# An example of an UNSAFE endpoint.
path <- file.path("./datasets", file)
readLines(path)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.