Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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