Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

CURL.ProcessRelativeURL

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

Component Version macOS Windows Linux Server iOS SDK
CURL 13.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.ProcessRelativeURL"; BaseURL; RelativeURL )   More

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" )

Example result: https://www.mbsplugins.eu/ContainerReadFile.shtml

Try with .. in URL:

MBS( "CURL.ProcessRelativeURL"; "https://www.monkeybreadsoftware.com/filemaker/video/"; "../download/" )

Example result: https://www.monkeybreadsoftware.com/filemaker/download/

Try with parameter:

MBS( "CURL.ProcessRelativeURL"; "http://monkeybreadsoftware.com/filemaker/?test=123"; "/xojo" )

Example result: http://monkeybreadsoftware.com/xojo

Release notes

Blog Entries

This function is free to use.

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


CURL.PerformInBackground - CURL.Protocols

💬 Ask a question or report a problem