Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem