Spanish Total.js
English
Documentation For AI agents
Contents

Get started with TotalAPI

TotalAPI keeps the requests of your APIs in a collection, sends them and checks what they answer. A Total.js 5 app gives it all its requests from one file.

.md GitHub
On this page

A collection in TotalAPI: the requests on the left, the request chosen and its answer

Install it

Download TotalAPI for macOS, Windows or Linux from its page. Install the apps explains each system step by step.

Send the first request

  1. Open TotalAPI and press New collection.
  2. Choose where to save its file. A collection is always a file of yours.
  3. Press New request. Its address is {{base}}/, and the variable base is http://localhost:8000 at first.
  4. Write the address to ask, for example {{base}}/api/users, or a whole one that starts with https://.
  5. Choose the method at the left of the address.
  6. Press Send, or ⌘↩ on the Mac and Ctrl+Enter on Windows and Linux.

The answer appears below the request, with its status, its time and its size. What you write is saved as you write it.

If you have a Total.js 5 app, press Import from a Total.js index.js.map instead: each of its routes becomes a request.

The parts of the window

PartWhat it is for
The name at the top leftThe name of the collection, which you can change there
The buttons next to itAdd a request, set the auth of the collection, run every request
EnvironmentThe variables that the requests use now
The list of requestsThe folders and requests. A right click on one opens its menu
The requestIts address, query, headers and body, its auth and its checks
The answerWhat the server answered
The buttons at the top rightOpen a collection, import a Total.js app, see every command, close the collection

Find every command

Press ⇧⌘P on the Mac, or Ctrl+Shift+P on Windows and Linux, and type a word of what you want to do. Some things are only there, such as adding a folder at the top level or importing from other formats. Keyboard shortcuts has the rest of the keys.

Made in Europe