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
- WebRequest.GetBody
- WebRequest.GetMode
- WebRequest.GetSize
- WebRequest.GetSSL
- WebRequest.GetState
- WebRequest.GetTag
- WebRequest.GetURL
- WebRequest.GetWebHook
- WebRequest.Release
- WebRequest.SetTag
This function is free to use.
Created 17th October 2021, last changed 25th October 2021