James Blair Wed Sep 19 17:12:43 2018
This PoC uses rmarkdown::render()
to create a markdown file
documenting this plumber
API.
library(plumber)
#* @apiTitle Plumber Example API
#* Echo back the input
#* @param msg The message to echo
#* @get /echo
function(msg = "") {
list(msg = paste0("The message is: '", msg, "'"))
}
Create an endpoint that echos back the message provided.