![]() ![]() |
Reference Type: Supported, Category: Toolkit—HTTP Client Helper, ICR#: 5554
The $$MAKEURL^XTHCURL extrinsic function creates a URL from components.
NOTE: XTHC* routines are part of the HTTP Client Helper application for developers.
NOTE: This API is IPv6 compliant as of Kernel Toolkit patch XT*7.3*138.
NOTE: This API was released with Kernel Toolkit Patch XT*7.3*123.
$$MAKEURL^XTHCURL(host[,port][,path][,.query])
host: |
(required) The Fully Qualified Domain Name (FQDN) or Internet Protocol (IP) address of the system to which it connects. |
port: |
(optional) The port to use. Default is:
|
path: |
(optional) The path to the Web page on the called server. |
.query: |
(optional) An array of query parameters. |
returns: |
Returns:
|
S host="http://www.map.com" S path="api/staticmap" S query("center")="main+st.,Anycity,CA" S query("sensor")="false" W $$MAKEURL^XTHCURL(host,,path,.query) http://www.map.com/api/staticmap?center=main%2Bst.%2CAnycity%2CCA&sensor=false |