method

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

MDN Reference