Nothing
emails <- data.frame(
from = character(0),
time = character(0),
subject = character(0)
)
#* @post /mail
function(body) {
emails <<- rbind(emails, data.frame(
from = body$from,
time = date(),
subject = body$subject
))
Next
}
#* @get /tail
function() {
tail(emails[,-1], n=5)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.