httpMethod property

String? httpMethod
getter/setter pair

The HTTP method to use for the request.

PATCH and OPTIONS are not permitted. Possible string values are:

  • "HTTP_METHOD_UNSPECIFIED" : HTTP method unspecified. Defaults to POST.
  • "POST" : HTTP POST
  • "GET" : HTTP GET
  • "HEAD" : HTTP HEAD
  • "PUT" : HTTP PUT
  • "DELETE" : HTTP DELETE
  • "PATCH" : HTTP PATCH
  • "OPTIONS" : HTTP OPTIONS

Implementation

core.String? httpMethod;