Description Usage Arguments Examples
Responds to an HTTP request using a given MIME type
1 | respond(content, mime)
|
content |
a character string containing the content |
mime |
a character string containing the MIME type (e.g. "text/html" or "image/gif") |
1 2 3 | error <- "Insufficient amount of coffee!"
errorHTML <- interpolate("../../html/app/error.html",c(message=error))
respondHTML(errorHTML)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.