CURL.ProcessRelativeURL
-----------------------

Processes an URL to come from relative URL to a new absolute URL.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [13.4](newinversion134.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.ProcessRelativeURL"; BaseURL; RelativeURL ) 

**MBS**( **"CURL.ProcessRelativeURL";** /\* Processes an URL to come from relative URL to a new absolute URL. \*/  
**$BaseURL**; /\* The base URL.e.g. "https://www.mbsplugins.eu/ContainerReadImageFile.shtml" \*/   
**$RelativeURL**) /\* The relative URL.e.g. "ContainerReadFile.shtml" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BaseURL | The base URL. | "https://www.mbsplugins.eu/ContainerReadImageFile.shtml" |
| RelativeURL | The relative URL. | "ContainerReadFile.shtml" |

### Result

Returns text or error.

### Description

Processes an URL to come from relative URL to a new absolute URL.  
### Examples

Try it:

 MBS ( "CURL.ProcessRelativeURL"; "https://www.mbsplugins.eu/ContainerReadImageFile.shtml"; "ContainerReadFile.shtml" )  
<small>  
Example result: https://www.mbsplugins.eu/ContainerReadFile.shtml</small>Try with .. in URL:

 MBS ( "CURL.ProcessRelativeURL"; "https://www.monkeybreadsoftware.com/filemaker/video/"; "../download/" )  
<small>  
Example result: https://www.monkeybreadsoftware.com/filemaker/download/</small>Try with parameter:

 MBS ( "CURL.ProcessRelativeURL"; "http://monkeybreadsoftware.com/filemaker/?test=123"; "/xojo" )  
<small>  
Example result: http://monkeybreadsoftware.com/xojo</small>### Release notes

- **Version 13.4**
    - Added [CURL.ProcessRelativeURL](https://www.mbsplugins.eu/CURLProcessRelativeURL.shtml) function.

### Blog Entries

- [News in MBS FileMaker Plugin 13.4](https://www.mbsplugins.de/archive/2023-09-20/News_in_MBS_FileMaker_Plugin_1/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 13.4 für Claris FileMaker](https://www.mbsplugins.de/archive/2023-09-12/Neues_MBS_Plugin_134_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 13.4 for Claris FileMaker - More than 7100 Functions In One Plugin](https://www.mbsplugins.de/archive/2023-09-12/MBS_Plugin_134_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.4pr1](https://www.mbsplugins.de/archive/2023-08-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 20th July 2023 , last changed 17th August 2023

  
[CURL.PerformInBackground](CURLPerformInBackground.md) - [CURL.Protocols](CURLProtocols.md)

[HTML Version](CURLProcessRelativeURL.shtml)