WebRequest.SetTag
-----------------

Sets the tag value.

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

MBS( "WebRequest.SetTag"; WebRequest; Value ) 

**MBS**( **"WebRequest.SetTag";** /\* Sets the tag value. \*/  
**$WebRequest**; /\* The reference number of the web request. \*/   
**$Value**) /\* The new tag value.e.g. Get(RecordID) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebRequest | The reference number of the web request. | $WebRequest |
| Value | The new tag value. | Get(RecordID) |

### Result

Returns OK or error.

### Description

Sets the tag value.  
The tag value allows you to store any value related to the web request here like a RecordID in FileMaker.  
### See also

- [WebRequest.GetBody](WebRequestGetBody.md)
- [WebRequest.GetHost](WebRequestGetHost.md)
- [WebRequest.GetMode](WebRequestGetMode.md)
- [WebRequest.GetSize](WebRequestGetSize.md)
- [WebRequest.GetSSL](WebRequestGetSSL.md)
- [WebRequest.GetState](WebRequestGetState.md)
- [WebRequest.GetTag](WebRequestGetTag.md)
- [WebRequest.GetURL](WebRequestGetURL.md)
- [WebRequest.Release](WebRequestRelease.md)
- [WebRequest.Send](WebRequestSend.md)

### Release notes

- **Version 14.4**
    - Added [WebHook.GetTag](https://www.mbsplugins.eu/WebHookGetTag.shtml), [WebHook.SetTag](https://www.mbsplugins.eu/WebHookSetTag.shtml), [WebRequest.GetTag](https://www.mbsplugins.eu/WebRequestGetTag.shtml) and [WebRequest.SetTag](https://www.mbsplugins.eu/WebRequestSetTag.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 14.4](https://www.mbsplugins.de/archive/2024-09-24/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.4pr3](https://www.mbsplugins.de/archive/2024-08-21/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 1st August 2024 , last changed 1st August 2024

  
[WebRequest.Send](WebRequestSend.md) - [WebRequest.URLComponents](WebRequestURLComponents.md)

[HTML Version](WebRequestSetTag.shtml)