QuestionQ544

Understanding and Using APIs

Question Image

Refer to the exhibit. Drag the code options onto the blanks to build a cURL command that uses the Cisco DNA Center API to return WLAN-controller details for the ID ab123456789. Not all options are used.

Drag & Drop
network-device
id
wireless
wireless-info
controller
details
curl -L --request GET \

--url https://dna/intent/api/v1/// \

--header ‘Content-Type: application/json’ \

--header ‘Accept: application/json’
Explanation

Cisco’s wireless-LAN-controller-details operation uses GET /dna/intent/api/v1/network-device/{id}/wireless-info. Accordingly, the path identifies the network-device resource, supplies its ID, and requests its wireless information.

Learn more

Community Discussion

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