From the course: Cisco DevNet Associate (200-901) Cert Prep 3: Cisco Platforms and Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Discussing Cisco SD-WAN APIs

Discussing Cisco SD-WAN APIs

From the course: Cisco DevNet Associate (200-901) Cert Prep 3: Cisco Platforms and Development

Start my 1-month free trial

Discussing Cisco SD-WAN APIs

- [Instructor] The SDN API workflow, follows the same pattern as a lot of the examples that we've seen so far. So, we're just going to run through it really quickly. Recently, Cisco provided a SD-Wen always on sandbox, which is great, because now we don't have to reserve the whole typology just to try the API. As we could see, we included the base URL, the username, as well as the password. And we're using the request package to go ahead and request the authenticated session. The session will already include the token that we get as part of the authentication process. And we can make a request tore the slash data service, slash device for a list of devices. And then we're just going to loop through the device list and print out each of the devices. So, let's execute this script and see what we get. As we can see it went ahead and established a session and got a list of the devices with details printed out on the screen.…

Contents