"siteFingerprint" :
"Z29SSG/BAVFY04Vv",
"guiIdleTimeoutSeconds" :
"1200",
"firstName" : "",
"userName" : "admin",
"refreshTimeoutSeconds" : "600",
"restTimeoutSeconds" : "90",
"node" : "topology/pod-1/node-
1",
"creationTime" : "1572128727",
"changePassword" : "no",
"token" :
"pRgAAAAAAAAAAAAAAAAAAGNPf39fZd71fV6DJWidJoqxJmHt1Fephm-
w6Q0I5byoafVMZ29a6pL+4u5krJ0G2Jdrvl0l2l9cMx/o0ciIbVRfFZruCEgqsPg8+dbjb8kWX02FJLcw9Qp
sg98s5QfOaMDQWHSyqwOObKOGxxglLeQbkgxM8/fgOAFZxbKHMw0+09ihdiu7jTb7AAJVZEzYzXA==",
"unixUserId" : "15374",
"lastName" : "",
"sessionId" :
"1IZw4uthRVSmyWWH/+S9aA==",
"maximumLifetimeSeconds" :
"86400"
}
...omitted output
}
The response to the POST operation contains an
authentication token that will be used in subsequent API
operations as a cookie named APIC-cookie.
Next, let’s get a list of all the ACI fabrics that are being
managed by this APIC instance. The URI for this GET
operation is
https://sandboxapicdc.cisco.com/api/node/class/fabric
Pod.json, and the APIC-cookie header, are specified for
authentication purposes. The curl request should look
similar to the one shown in Example 9-3.
Example 9-3 curl Command to Get a List of All ACI
Fabrics
Click here to view code image