DMarlon Studio

Chapter 7

API client

HTTP requests with collections, variables and history.

Requests

  • Pick the method (GET, POST, PUT, PATCH, DELETE…), type the URL and click Send.
  • Parameters, Headers, Body (JSON, form or text) and Authorization (none, Bearer or Basic) tabs.
  • The response shows the status code, the time, the headers and the body.
  • Copy as curl gets the request ready for the terminal.
API client
A request saved in the GitHub collection.

Collections, variables and history

  • Save stores the request in a Collection; Save as new… makes a copy.
  • Environment variables… defines values such as base_url or token, used in the URL, headers and body as {{base_url}}.
  • The History keeps the last 100 requests sent; Clear history empties it.