POST
Handles building out POST based routing
Arguments
Usage
const { router, methods, response } = require('octoris')
function handler (ctx) {
return response.send(200, 'OKAY!')
}
router.route(['/'], [methods.POST(handler)])
Last updated
Was this helpful?