method() !== 'POST') { return new Response('Method Not Allowed.', 405); } return null; } }