RESTResponseV2 - getQueryString()

Get the fully-resolved query sent to the REST endpoint..

This query contains the endpoint URL as well as any values assigned to variables in the REST message. Use this method only with responses to direct requests. This method is not supported for requests sent asynchronously, or requests sent using a MID server.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The fully-resolved query.
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.
var response = sm.execute();
var queryString = response.getQueryString();