Getting an authorization token using RSdoc
Open a browser at
https://
, whereSDN_CONTROLLER_ADDRESS
:8443/apiSDN_CONTROLLER_ADDRESS
is the IP address for your controller.Click /auth, then click POST.
For the login parameter, use JSON encoding to enter a domain, user name, and password.
This example uses the default values for user, password, and domain:
{"login":{"user":"sdn","password":"skyline","domain":"sdn"}}
Click Try it out!
A value is displayed in Response Body.
For an example, see Getting an authentication token using RSdoc .
Without including the quotation marks, copy the value displayed for Token.