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

Question on login URL for REST requests on APIC

prabha1
Cisco Employee
Cisco Employee

I tried getting a http/https connection to the device using "https://10.29.198.63/api/aaaLogin.json" and passing username and password as json object

{

  "aaaUser" : {

    "attributes" : {

      "name" : "admin",

      "pwd" : "C!sc0123"

    }

  }

}

This is not working. can someone give me the correct url to get a connection to the device and retrieve the login cookie for subsequent requests.

Thanks,

Prabha

1 Reply 1

sebas.jacobs
Level 1
Level 1

{{protocol}}://{{apic}}/api/uni/aaaLogin.json

{

    "aaaUser" : {

        "attributes" : {

            "name" : "{{user}}",

            "pwd" : "{{password}}"

        }

    }

}

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Save 25% on Day-2 Operations Add-On License