WebRequest.GetHTTPVersion
-------------------------

Queries HTTP method.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebHook](component_WebHook.md) | [11.5](newinversion115.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WebRequest.GetHTTPVersion"; WebRequest ) 

**MBS**( **"WebRequest.GetHTTPVersion";** /\* Queries HTTP method. \*/  
**$WebRequest**) /\* The reference number of the web request. \*/ 

### Parameters

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

### Result

Returns text or error.

### Description

Queries HTTP method.  
e.g. "HTTP/1.1"  
### Examples

Queries HTTP version:

 Set Field \[ WebHook::HTTP Version ; MBS ("WebRequest.GetHTTPVersion"; $WebRequest ) \]  
### See also

- [WebRequest.GetHTTPMethod](WebRequestGetHTTPMethod.md)

### Example Databases

- [WebHook/WebHook](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/WebHook.shtml#2ScriptAnchor_)

This function checks for a license.

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

  
[WebRequest.GetHTTPMethod](WebRequestGetHTTPMethod.md) - [WebRequest.GetHeaders](WebRequestGetHeaders.md)

[HTML Version](WebRequestGetHTTPVersion.shtml)