tests/testthat/files/verbs.R

#* @use /some
function(){

}

#* @get /get
function() {

}


#* @put /put
function(req, res, forward){
  7
}

#* @post /post
function() {

}

#* @delete /delete
function() {

}

#* @post /test
#* @get /test
function(){

}

#* @head /head
function() {

}

#* @options /options
function(){

}

#* @patch /patch
function(){

}

Try the plumber package in your browser

Any scripts or data that you put into this service are public.

plumber documentation built on Sept. 7, 2022, 1:05 a.m.