© 1999-2017 Citrix Systems, Inc. All rights reserved. p.226https://docs.citrix.com
"timeout":3600
}
}
You can also connect to the appliance to perform a single operation, by specifying the username and password in the
request header of the operation. For example, to connect to an appliance while creating a NetScaler instance:
URL. https://10.102.31.16/nitro/v2/config/ns/
HTTP Method. POST
Request.
Header
X-NITRO-USER:nsroot
X-NITRO-PASS:verysecret
Content-Type:application/vnd.com.citrix.sdx.ns+json
Payload
{
"ns":
{
...
}
}
Response.
Header
HTTP/1.0 201 Created
To disconnect from the appliance, use the DELETE method:
URL. https://10.102.31.16/nitro/v2/config/login/
HTTP Method. DELETE
Request.
Header
Cookie:NITRO_AUTH_TOKEN=tokenvalue
Content-Type:application/vnd.com.citrix.sdx.login+json
Configuration APIs
Updated: 2014-06-11
The NITRO protocol can be used to configure resources of the NetScaler SDX appliance.
Each NetScaler SDX resource has an unique URL associated with it, depending on the type of operation to be performed.
URLs for configuration operations have the format http://<IP>/nitro/v2/config/<resource_type>.
Creating a Resource
To create a new resource (for example, a NetScaler instance) on the NetScaler SDX appliance, specify the resource name
and other related arguments in the specific resource object. For example, to create a NetScaler instance named vpx1:
URL. https://10.102.31.16/nitro/v2/config/ns/
HTTP Method. POST
Request.
Header