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

WebRequest.GetHeaders

Queries HTTP headers as JSON.

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

Parameters

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

Result

Returns JSON or error.

Description

Queries HTTP headers as JSON.

Examples

Query headers:

Set Field [ WebHook::Headers ; MBS( "JSON.Colorize"; MBS("WebRequest.GetHeaders"; $WebRequest)) ]

See also

Example Databases

Blog Entries

This function checks for a license.

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


WebRequest.GetHTTPVersion - WebRequest.GetHost