How to Call REST APIs from a REST Client and Python
Presenter: Matt (didn’t catch last name, sorry)
I was late to this session because of wonderful San Diego traffic :-/
A walk-through of using the REST API on APIC-EM.
http://learninglabs.cisco.com – sample code, docs
Postman – plugin for Chrome browser to craft, send, receive API commands over HTTP using a nice graphical interface. Helpful for building and testing queries and also viewing the raw output from the controller that you’re querying. Is there an equivalent for Firefox?
APIC-EM docs fully cover the API. Methods, variables, etc.
“Requests” library in Python – simplifies the CRUD operations in Python.
When you’re in the lab, verifying the SSL cert of your controller (in your code) might be optional. Don’t bring that into prod code. Get a proper cert and have your code validate the cert.