cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
0
Helpful
2
Replies
Highlighted
Beginner

staring my journey with API programming

trying the "hello world" basic lab.  When I post the below, I get the below error.  It does not seem to be  a syntax related error.  I tried this from three different machines and received the same results. "receiving 500 server error"

https://sandboxapicem.cisco.com/api/v1/ticket

 post:

{"username":"devnetuser",
"password":"Cisco123!"
}

 

 

{
"response": {
"errorCode": "UNKNOWN_ERROR",
"message": "Content type 'text/plain' not supported",
"detail": "Content type 'text/plain' not supported"
},
"version": "1.0"
}

 

any thoughts on this?  its a bit confusing when starting out and you are not sure fi you are doing something wrong or the app is not working.

2 REPLIES 2
Highlighted
Cisco Employee

Re: staring my journey with API programming

Hi.

This appears to be a post relating to APIC EM. Unfortunately this is a forum mainly devoted to Cisco NSO. You might have better luck trying another forum, maybe https://community.cisco.com/t5/automation-and-analytics/bd-p/j-disc-dev-net-auto-analytics

Best,
Viktor
Highlighted
Beginner

Re: staring my journey with API programming

Hi Vleijon,

 

Thanks for the feedback and assistance.

 

-RT

This widget could not be displayed.