StoicBuilder
Later missionMission 18: Call the API yourselfYou can practise it now. It counts once you reach mission 18, after “The menu won't load”.Back to HQ
Exit lesson
An HTTP clientProLesson 14 of 45, about 7 min
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
0 XP

The app: Courier, an HTTP client

CourierQuickBite API
{{baseUrl}}/v1/orders

GET http://localhost:4000/v1/orders

Acceptapplication/jsondefault
ResponsePress Send to see what comes back.

The raw HTTP, as it travels

Environment what the variables stand fordev
{ "baseUrl": , "token": }
Request the text Courier will sendGET /v1/orders
Host:
Accept: application/json
Response the text that came backwaiting

Nothing sent yet. Courier only sends when you press Send.

The MagisterLeft: Courier, an HTTP client. You build a request by hand and send it straight to an API, here QuickBite’s, with no app in between. Right: the exact text that travels, and the answer. The request is ready: GET /v1/orders. Press Send.

Step 1 of 7Press Send
  • Send the request

You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.