Postino documentation
Postino is a fast, native HTTP client for Linux, Windows and macOS. There is no account and no cloud: every request is a small text file that you can read, diff and commit next to your code.
.postino and .env files.
Script APIEvery global available to pre-request and post-response scripts.
What Postino is
Postino is an API client in the spirit of the tools you may already know: collections on the left, the request on top, the response below. What makes it different is where your work lives.
- A workspace is a folder. Any folder on your disk. Postino lists the requests inside it and shows its subfolders as collections.
- A request is a file. Each request is one
.postinofile in a short, readable text format. Change one header and git shows you one changed line. - An environment is a file too. Variables live in
environments/<name>.env, and secrets in a separate.local.envfile that you keep out of git. - Nothing leaves your computer except the requests you send, and on macOS and Windows an optional update check that carries no identifiers.
POST {{baseUrl}}/users
Content-Type: application/json
Authorization: Bearer {{token}}
::: body json
{ "name": "Ada Lovelace", "role": "admin" }
::: post
test("user created", () => {
expect(res.status).toBe(201);
});
env.set("userId", res.json().id);Features at a glance
| Feature | What you get | Read more |
|---|---|---|
| Requests | Standard and custom methods, query parameters, headers and JSON, XML, text or form bodies. Any entry can be switched off without deleting it. | Building requests |
| Responses | Status, time and size, a pretty or raw body with search, headers, test results and console output. | Reading responses |
| Environments | {{variables}} in any part of the request, shared values in .env, secrets in .local.env, a table editor and one shortcut per environment. | Environments and variables |
| Template functions | {{ uuid() }}, {{ now() }}, random values and encoders inline, with no script. | Template functions |
| Scripts and tests | JavaScript before and after each request, with test() and expect(), in a sandboxed QuickJS engine. | Scripts and tests |
| Load testing | Virtual users, ramp-up, live throughput and latency percentiles, saved runs you can compare. | Load testing |
| Code snippets | Copy any request as curl, JavaScript fetch, Python requests or a postino command. | Code snippets |
| OpenAPI import | OpenAPI 3.1, 3.0 and Swagger 2.0 specs, from a file, a URL or pasted text, become requests with environments, auth variables, example bodies and tests. | Importing OpenAPI |
| Postman import | Collections (v2.1 and v2.0) and environment exports become plain files. | Importing from Postman |
| Bruno import | Collections in .bru files or OpenCollection YAML, with their environments, scripts and assertions. | Importing from Bruno |
| Keyboard first | A command palette for every request and action, and shortcuts for sending, saving and switching environments. | Keyboard shortcuts |
How this documentation is organized
- Getting started
- Install Postino, send a first request and take a tour of the window.
- Guides
- Task oriented pages: organizing a workspace, building requests, using environments, writing tests, running load tests and moving over from Postman.
- Reference
- The precise rules: keyboard shortcuts, every setting, the file formats, the full script API, command line options and where Postino keeps its files.
- Help
- Solutions to common problems, frequently asked questions and how to contribute.
Press / or Ctrl K on any page of this documentation to search it.
Platforms
Postino runs on Linux (x86_64), Windows 10 and 11 (64 bit) and macOS on Apple silicon. It is written in Rust on gpui, the GPU accelerated UI framework behind the Zed editor, so it does not bundle a web browser and stays light on memory.
License
Postino is free and open source under the Apache License 2.0. The file format is documented in the open, so your requests are never locked into the application.