route({ method: ['PUT', 'POST'], path: '/', handler: function (request, h) { return 'I did something!'; } });. To use all available methods, like in Express app ...
確定! 回上一頁