OverrideRESTBaseURL method: Message class
Syntax
OverrideRESTBaseURL(string)
Description
Use this method on the subscribing node (the consumer) to override the base URL portion of the generated URL for a REST-based transaction.
Parameters
| Parameter | Description |
|---|---|
|
string |
Specifies the base URL to be added to the URI template portion to generate the full URL to the REST-based resource. |
Returns
None.
Example
&MSG = CreateMessage(Operation.QE_WEATHERSTATION_CONSUME_GET);
&MSG.OverrideURIResource("http://myexample.com/PSIGW/RESTListeningConnector/AKTT");