Search the reference...
/
property
Returns request's HTTP method, which is "GET" by default.
MDN Reference