Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebRequest.GetHTTPMethod

Queries HTTP method for the request.

Component Version macOS Windows Linux Server iOS SDK
WebHook 11.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WebRequest.GetHTTPMethod"; WebRequest )   More

Parameters

Parameter Description Example
WebRequest The reference number of the web request. $WebRequest

Result

Returns text or error.

Description

Queries HTTP method for the request.
e.g. GET, POST or PUT.

Examples

Query http method:

Set Field [ WebHook::HTTP Method ; MBS("WebRequest.GetHTTPMethod"; $WebRequest) ]

See also

Example Databases

This function checks for a license.

Created 13th October 2021, last changed 25th October 2021


WebRequest.GetBodySize - WebRequest.GetHTTPVersion