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

MyFirstApp.py

magnese
Level 1
Level 1

Trying to get the MyFirstApp.py to work towards the Sandbox always on in APIC-EM

 

Getting

C:\Users\xxxx\Documents\Phyton>C:\Users\xxxx\AppData\Local\Programs\Python

\Python35-32\python.exe MyFirstApp.py

No data returned!

No service ticket was received.  Ending program!

 

 

I am able to logon via Browser to the API.

I am able to send request in POSTMAN.

Any idea why?

1 Accepted Solution

Accepted Solutions

ecorban
Cisco Employee
Cisco Employee

hi

from your question it seems that the service ticket is an issue.

the POST api call for the service ticket should be https://sandboxapic.cisco.com/api/v1/ticket

and the raw json should include

{"username":"devnetuser",

"password":"Cisco123!"

}

View solution in original post

1 Reply 1

ecorban
Cisco Employee
Cisco Employee

hi

from your question it seems that the service ticket is an issue.

the POST api call for the service ticket should be https://sandboxapic.cisco.com/api/v1/ticket

and the raw json should include

{"username":"devnetuser",

"password":"Cisco123!"

}