httpMethod property

String? httpMethod
getter/setter pair

The HTTP method to use for the request.

When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time. 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;