Pmethod
Bun

property

Request.method

readonly method: string

Returns request's HTTP method, which is "GET" by default.

MDN Reference