QuestionQ121

Using APIs

Question Image

Refer to the exhibit. Which code snippet is required in the headers to successfully authorize wireless information from Cisco DNA Center?

  • A headers = {'X-auth-token':'fa8426a0-8eaf-4d22-8e13-7c1b16a9370c'}
  • B headers = {'Authorization':'Basic YWRtaW46R3JhcGV2aW5IMQ=='}
  • C headers = {'Authorization':'Bearer ASDNFALKJER23412RKDALSNKF'}
  • D headers = {'Content-type':'application/json'}
Explanation

Cisco DNA Center uses token-based authentication for Intent API requests. After obtaining an access token, the client must send it in the X-Auth-Token header; therefore, the header containing that token authorizes the wireless-profile request.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!