The following code demonstrates how to get a list of secure access
policies using the API. It updates the cookie information for DSID from
the above code.
You can use a browser to access the DSID. The procedure below
describes the process for the Chrome browser, but any browser
that offers similar tools can also be used.
1.Start the nSA user interface in the Chrome
browser.
The home page appears.
2.Right-click the main map, and select Inspect from
the context menu.
The screen divides horizontally and the element view appears to the
right of the screen.
In the Edge browser, you click the ...
control, and then click Other Tools > Developer
Tools. In the Firefox browser, you right-click and
select Inspect Element from the context menu.
3.In the element view, select the Network tab.
4.Select an element from the list of elements (on the left of the
tab). For example, login, admin or
subscriptions.
A tab bar appears (on the right of the tab).
5.Select the Cookies tab.
A list of cookies for the page appears.
6.For the DSID entry, copy the DSID value and retain this
value for future use. For example:
Element View in Chrome Browser
You can use the following CURL command format uses the DSID to query
the REST API server: