Search...
method
Returns the HTTP method used in calling an HTTP function.
Description
Returns "GET"
, "POST"
, "PUT"
, or "DELETE"
.
Type:
stringRead Only
Was this helpful?
Get the method used to call the HTTP function
Copy Code
1// In http-functions.js23export function use_myFunction(request) {45 let method = request.method; // "GET"67}