Lab N23: First API call
Every lab so far had you log in to one device, type words, and read an answer laid out for a person. A controller holds the whole network, and programs ask it things. A program does not type show commands: it sends a request to a URL and gets back data it can pick apart. You'll send six requests by hand, the way a program would, and read what comes back.
What you will do
- Ask, and be refused
- Say who you are, once
- The same URL, another verb
- Ask again, with the token
- Read the answer as a program would
- Ask for one thing only
New in this lab: GET, JSON.
How it is checked
Each of the 6 tasks is checked on the devices themselves as you finish it: the bench reads how the network is configured and what it does, not what you typed. The lab is done when all 6 pass.
The lessons it follows
It opens after these, and uses what they teach:
Open the lab benchIt needs a computer: phones and tablets are not supported.
