RESTResponseV2 - getHeaders()

Get all headers returned in the REST response and the associated values.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Object An Object that maps the name of each header to the associated value.
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 headers = response.getHeaders();