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.

In Daveth Pro (Network)A first lab on its topic · Two routers · 6 tasks

What you will do

  1. Ask, and be refused
  2. Say who you are, once
  3. The same URL, another verb
  4. Ask again, with the token
  5. Read the answer as a program would
  6. 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.