CBT Nuggets Flashcards
Is the HTTP structure always the same?
True
How does a HTTP communication takes place?
Client <-> Server
Which structure is used with HTTP
Request and Response
Which language is a HTTP/1.1 request and response
Plain-Text
Which structured is used in a http request and respone
- Start line
- Header (Key Value Pairs - strings)
- Blank line
- Body
What is a HTTP request method
The HTTP request method is a single word ‘token’ that loosely describes the desired action being performed.
What are the request methods
- Get
- Head
- Post
- Put
- Delete
- Connect
- Options
- Trace
Which HTTP request methods are needed for DEVASC and you see a lot
- Get
- Head
- Post
Where is the http request (verb) method placed
In the start line
Which http request do you use when you want to retrieve information
HTTP GET
Which http request do you use when you want to send information
HTTP POST
What is a verb
HTTP verbs tell the server what to do with the data identified by the URL.
What is a HTTP response code
Every HTTP response has a 3-digit numeric doe indicating the type of response
Where is the http response method placed
In the start line
What are http codes?
1XX (100-199) Information Response
2XX (200-299) Successful Response
3XX (300-399) Redirects
4XX (400-499) Client errors (401 - Unauthorized, 403 - foridden, 404 - not found)
5XX (500-599) Server errors
API authentication takes place in which part of the HTTP request
Header
Can you create a parent authentication for several URLs in postman
Yes you can, you do that in the parent folder under authentication
Where do you set the API key in postman
In the authentication field in the folder or per url
Which environment runs postman for script execution?
Javascript
Postman environments are used for?
Groups of variables, key value pairs
Where are postman environments used for?
Test, Acceptance, Development, Production
Which notation do you use for variables
{{ variable }}
The power of environments is to create variables you can use in the entire postman environment. So when you change the variable, it is replaced on all needed places.
As question
What are examples of variables used in postman
Domain, username, password, et cetera
Why should you use automation?
You get things done quicker, its increases efficiency and speed
Why network automation
- Faster
- Standardization
- Known outcomes (what will happen, and what is the result)
- Monitoring
What is the best automation headline
When you can’t automated it, it doesn’t exist.
What is very powerful of automation
You can use other data platform to import data or export data, like send a notification in a slack or teams platform.
how do we call network development
NetDevOps
Why is network automation strong in monitoring
Because you can request specific data instead of all data like a show run on Cisco device