06-15-2016 04:32 PM - last edited on 06-04-2019 09:47 AM by Paul Zimmerman
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?
Solved! Go to Solution.
06-16-2016 03:23 AM
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!"
}
06-16-2016 03:23 AM
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!"
}
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide