URL (HttpRequest property)
Target HTTP request URL (HttpRequest class)
You set the URL for an HTTP request by assigning a value to URL, and you fetch its value by referencing it without any parameters.
%currentString = httpRequest:URL httpRequest:URL = newString
|A string or Longstring variable for the assignment of the current value of URL.
|A previously defined and instantiated HttpRequest object.
|A string expression that contains a complete URL, potentially including protocol, host, port, and page. The value is parsed and validated, and its parts are then available to the individual property calls (Protocol, Host, Port, Page). If newString cannot be parsed, the request is cancelled.
The default value is the concatenation of the defaults of the properties that return the individual parts of the URL, that is, the URL of a web server running on the same machine as the client:
Port defaults to
- Referencing URL returns the entire URL, whether it was set in one call using URL, or set in parts using the Protocol, Host, Port, and Page properties.