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

WebRequest.GetHost

Queries host name from HTTP headers.

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

Parameters

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

Result

Returns text or error.

Description

Queries host name from HTTP headers.

Examples

Query host:

Set Variable [ $host ; Value: MBS("WebRequest.GetHost"; $WebRequest) ]

See also

This function is free to use.

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


WebRequest.GetHeaders - WebRequest.GetLocalIP