httpMethod property

String? httpMethod
getter/setter pair

The HTTP method to use for the request.

The default is POST. Possible string values are:

  • "HTTP_METHOD_UNSPECIFIED" : HTTP method unspecified
  • "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;