method


methodstringRead-only

Returns the HTTP method used in calling an HTTP function.

Returns "GET", "POST", "PUT", or "DELETE".

Get the method used to call the HTTP function
JavaScript
// In http-functions.js export function use_myFunction(request) { let method = request.method; // "GET" }
Did this help?