WebMethod.Type

Updated on

WebMethod.Type specifies an HTTP method.

Enumeration Options

Enumerations simplify the process of selecting options within a function. To specify the WebMethod.Type, users have the option to either input the below Argument description (which provides more information) or the shorter Value (which provides a more concise representation).

ArgumentValueDescription
WebMethod.Delete“DELETE”Specifies the DELETE method for HTTP.
WebMethod.Get“GET”Specifies the GET method for HTTP.
WebMethod.Head“HEAD”Specifies the HEAD method for HTTP.
WebMethod.Patch“PATCH”Specifies the PATCH method for HTTP.
WebMethod.Post“POST”Specifies the POST method for HTTP.
WebMethod.Put“PUT”Specifies the PUT method for HTTP.

Applies to

Here’s a list of functions that work with WebMethod.Type:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/webmethod-type