I'm trying to return just a string or a data frame as soon as the API is pinged by the user. I'm using plumber to create this API. Unfortunately, I keep on getting a 404 error when I try to do this. Is this possible in plumber?
library(plumber)
#* Test plumber of API with no parameters
#* @response default array with corresponding responses
#* @serializer unboxedJSON
#* @post /Test
function(){
return("Hello World!")
}