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


Queries parsed URL components.

Component Version macOS Windows Linux Server iOS SDK
WebHook 11.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WebRequest.URLComponents"; WebRequest )   More


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


Returns JSON or error.


Queries parsed URL components.
This is a convenience function to parse URL into components and separate query parameters into a JSON dictionary.


Queries path for an URL:

Set Field [ WebHook::URLParts ; MBS("WebRequest.URLComponents"; $WebRequest; "UTF-8") ]

Example result:
{ "Host": "", "RelativeURL": "/path/file.txt?test=1&other=H%C3%B6llo", "URL": "", "Scheme": "http", "Port": 9999, "Path": "/path/file.txt", "Query": "test=1&other=Höllo", "Parameters": { "test": "1", "other": "Höllo" } }

Example Databases

Blog Entries

This function checks for a license.

Created 24th October 2021, last changed 24th October 2021

WebRequest.Send - WebView.AddScriptMessageHandler