cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
170
Views
0
Helpful
1
Replies

Cisco Sandbox ACI Simulator access thru postman

learn02earn
Level 1
Level 1

Hello All,

Sorry if this topic has been discussed earlier. 

I have issues accessing Sandbox ACI Simulator thru postman.

{"aaaUser":{"attributes":{"username":"username","password":"password"}}}

I get error:

405 Method Not Allowed

Can someone please share doc/url on how to access.

1 Reply 1

Marcel Zehnder
Spotlight
Spotlight

What method and URI do you use? Make sure you use HTTP POST and the URI https://YOUR_APIC/api/aaaLogin.json, Content-Type must be application/json. Also your payload looks wrong to me, instead of "username" and "password" use "name" and "pwd":

 

{
    "aaaUser": {
        "attributes": {
            "name": "YOUR_USERNAME",
            "pwd": "YOUR_PASWORD"
        }
    }
}

 

HTH