28. Foundational Network Programmability Concepts Flashcards
What is an API?
Application Program Interface
What does APIs do?
- Used to communicate with applications and other software
- Used to communicate with various components of the network through software
- Used to configure or monitor specific components of the network
What is a Northbound API used for?
To communicate from a network controller to its management software
What is a Southbound API used for?
To make changes in physical device in the management software of the controller
What method does RESTapi use?
HTTP
What are the most common HTTP functions?
- Get (request)
- Post (submits data)
- Put (replaces data),
- Patch (appends data),
- Delete (removes data)
What is CRUD?
Functions that most applications use to store or alter data
Where does CRUD stand for?
Create - insert data
Read - retrieves data
Update - modifies data
Delete - removes data
What is Postman?
An application that makes it possible to interact with APIs using a console based approach
What are the two most common data formats used with APO?
- XML (Extensible markup language)
- JSON (Javascript Object Notation)
How does XML start and end?
What is the advantage of JSON over XML?
JSON is easier to work with, simplier to read and create
How does JSON start and end?
{ and }
What are the HTTP status codes?
200 - OK 201 - Created 400 - Bad Request 401 - Unauthorized 403 - Forbidden 404 - Not Found
With what function are credentials send to Cisco DNA?
HTTP POST