cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
916
Views
0
Helpful
3
Replies

Getting AUTH token from DNA center: POST request with POSTMAN desktop

rvkota
Level 1
Level 1

Trying to learn using (calling) APIs provided by CISCO DNA.

As a first step, to get AUTH following POST request is submitted via

1. Python script using requests module. Worked fine

2. Using Curl command (in a bash selll) worked fine.

3. When tried using the POSTMAN destop, following message was observed?

Error: Request is taking longer than 30 seconds to fulfill. Use another agent to send a request without time limitations.

Any Hints..?

Thank you all in advance.

RK

1 Accepted Solution

Accepted Solutions

Tomas de Leon
Cisco Employee
Cisco Employee
3 Replies 3

georgehewittuk1
Level 1
Level 1

It's effectively the same thing you are doing but from different applications. Is Postman misbehaving for other DNA-Cs or to other application. Try the Always-On DNA-C from Cisco perhaps - https://pubhub.devnetcloud.com/media/dna-center/docs/documents/b_DNAC_NB_REST_GSG-ciscotopichtml/t_setup_always_on_sandbox_new_dnac_gsg.html

rvkota
Level 1
Level 1

Hello  georgehewittuk1,

Thank you for the response. Yes basically learning these three ways (Python/Requests, curl and POSTMAN) to use APIs.

May be I need to understand the POSTMAN little better. But using the sandbox link you provided, I could login and see via the broweser.

 

Also I am not a pure network engineer, trying to prepare for DevASC certfication.

Thank you 

Kind Regards

RK

Tomas de Leon
Cisco Employee
Cisco Employee

POSTMAN HINTS:

 

Postman_01.png

 

Postman_02.png

 

Postman_03.png