The interface
Postino uses the layout you probably know from other API clients: collections on the left, the request on top and the response below. This page names every part of the window, so the rest of the documentation can refer to them.
Title bar
From left to right:
- Workspace switcher. Shows the name of the open folder. Click it to reopen one of your last ten workspaces (each row shows the folder's name and path, and its X removes it from the list without touching the folder, see Opening a workspace), to choose Open folder… (Ctrl O) or to create one with New workspace… (see Creating a workspace).
- Search. The box in the middle, Search requests and actions, opens the command palette. Its shortcut is Ctrl K.
- Environment pill. The active environment, with a colored dot. Click it to switch environments. See switching environments.
- Settings. The gear opens Settings (Ctrl ,).
On Linux Postino draws its own window chrome, including the minimize, maximize and close buttons at the right of the title bar.
Activity rail
The narrow column at the far left switches what the sidebar shows:
| Button | Sidebar shows | Shortcut |
|---|---|---|
| Collections | The tree of folders and requests of the workspace. | Alt 1 |
| Source Control | The workspace's git changes, with a checkbox per file to choose what goes into the next commit. The counter on the button is the number of changed files. See Working with git. | Alt 2 |
| Environments | The environments of the workspace, which one is active, and a button to create one. | Alt 3 |
| Load tests | The requests and folders you can load test, and the load test runs of this session. | Alt 4 |
It works like the activity bar of a code editor: clicking another section switches to it, clicking the active section hides the sidebar, and clicking any button while the sidebar is hidden shows it again. The shortcuts do the same as a click, and are Ctrl 1 to Ctrl 4 on macOS. Each button's tooltip shows its shortcut.
With no workspace open there is nothing for the rail and the sidebar to show, so both are hidden and the welcome tab takes the whole width. They appear as soon as a workspace opens.
Sidebar
Collections
The header has buttons to create a new request and a new folder at the root of the workspace, the Import menu (OpenAPI, Postman and Bruno), and Refresh collections, which reads the workspace from disk again to show changes made outside Postino, such as a git pull in a terminal or files copied in by hand. Postino does not watch the folder, so those changes appear only after a refresh. Below it, a Filter box narrows the tree as you type: it matches request names and paths, ignores case, and keeps the parent folders of every match visible.
Each request shows its method in color. Folders come first, then requests, both in natural order, so item2 sorts before item10. Right click an entry for its context menu:
| Action | On a folder | On a request |
|---|---|---|
| New request | Creates a request inside the folder | |
| New folder | Creates a subfolder | |
| Load test… | Load tests every request in the folder | Load tests this request |
| Duplicate | Copies the file next to it and opens the copy | |
| Rename F2 | Renames the folder on disk | Renames the file on disk |
| Delete Delete | Deletes the folder and everything in it, after asking | Deletes the file, after asking |
The keys work on the selected entry while the tree has the focus: click an entry, then press F2 to rename it or Delete to delete it. In a text field they keep editing the text.
A file that cannot be parsed is listed as name (broken). See a request shows as broken.
Drag a request or a folder onto another folder to move it there, or onto the empty space below the tree to move it to the root. Ctrl + click (⌘ + click on macOS) selects several entries to move them together. See Duplicating, renaming, moving and deleting.
The sidebar can be resized by dragging its right edge.
Environments
Lists every environments/*.env file of the workspace and marks the active one. Click an environment to open it in the environment editor. The header has New environment and Reveal, which opens the environments/ folder in your file manager.
Load tests
Lists the Targets (the requests and folders you can point a load test at) and the Runs this session, each with its state: running with the elapsed time, done or stopped with its p95 latency, or failed. See Load testing.
Tabs
Every request, environment and load test you open gets a tab. A request tab shows its method and name. A dot instead of the close button means unsaved changes; hover the tab to reveal the close button again. The welcome tab has a house icon and the name Welcome, and the What's new tab a sparkles icon.
Drag a tab onto another to move it there, or onto the empty space of the bar to move it to the end. A middle click on a tab closes it.
When the tabs do not fit, the bar scrolls sideways, also with the mouse wheel, and always keeps the active tab in view. Three buttons appear on its right: Scroll tabs left, Scroll tabs right, and All tabs, which lists every open tab, with a check next to the active one, so you can jump to any of them.
- Ctrl Tab and Ctrl Shift Tab move to the next and previous tab.
- Ctrl W closes the active tab.
- Ctrl S saves the active request or environment.
Tab menu
Right click a tab for its menu. Its items act on that tab, which does not need to be the active one, and right clicking does not select it.
- Close, Close others, Close to the right, Close to the left, Close saved (every tab without unsaved changes) and Close all. The ones that would close nothing are disabled, such as Close to the right on the last tab.
- For a request or an environment: Copy path (the full path of its file), Copy relative path (relative to the workspace folder, such as
auth/login.postinoorenvironments/local.env), Show in file manager and Reveal in sidebar, which opens the Collections or Environments panel with the item selected. - For a request: Rename and Duplicate, as in the sidebar.
From the keyboard, Shift F10 (or the Menu key on Linux and Windows) opens the menu of the active tab, under it. Use the arrow keys to move, → to open a submenu, Enter to choose and Esc to close it.
Right click the empty part of the tab bar for New request and Close all.
Closing tabs with unsaved changes, one or several, asks once and lists them: Save all saves them and closes, Don't save closes them and drops their edits, and Cancel closes nothing. Enter saves. A tab that cannot be saved stays open, with its error in view.
Welcome tab
The welcome tab is where Postino starts when there is no workspace to open. It only exists while no workspace is open, where it is the only tab, so it has no close button and Ctrl W leaves it open. With a workspace open, the launcher takes its place. From top to bottom it has:
- The Postino logo and a line on what it is: a native, lightweight HTTP client, with no account and no cloud.
- A card that says how Postino stores things, so you do not have to guess: a
folderis a workspace, asubfolderis a collection and a.postinofile is a request. See Workspaces and collections. - Start, with five entries:
- New workspace… opens the New workspace dialog.
- Open folder… (Ctrl O) opens the folder picker.
- Import OpenAPI… (Ctrl Shift O) opens the import wizard for OpenAPI. See Importing OpenAPI.
- Import from Postman… opens the import wizard for Postman. See Importing from Postman.
- Import from Bruno… opens the import wizard for Bruno. See Importing from Bruno.
- Recent, the four most recent workspaces whose folder still exists, each with its name and its shortened path. One click opens it. The list is hidden when there are none.
- Theme, the same three cards as Theme in Settings, Appearance: System, Light and Dark. A click switches the theme at once and saves the choice.
- Links to the Quick start (it opens the quick start guide in your browser), the Shortcuts cheat sheet (F1) and Search, the command palette (Ctrl K).
The welcome tab opens when Postino starts and there is no workspace to open: the first time you run it, or when none of your recent workspaces exists any more, or the one it tries to reopen cannot be opened. It never opens when you start Postino with a path or open a .postino file from your file manager. See Command line. Opening or creating a workspace, from the welcome tab or anywhere else, makes it go away.
Launcher
With a workspace open and no tab, the main area is the launcher, in one panel with no tab bar. It shows every time Postino starts with the last workspace, since tabs are not reopened, and every time you close the last tab. After an update, the What's new tab opens first, and the launcher shows when you close it.
- The workspace's name, how many requests and folders it has, the active environment and, in a git repository, the branch.
- Start, each entry with its key:
- New request (Ctrl N) opens the New request dialog, in the folder selected in the sidebar (or the folder of the selected request), otherwise at the root of the workspace. The key works anywhere in the window.
- Search for a request or action (Ctrl K) opens the command palette.
- Import OpenAPI, Postman or Bruno (Ctrl Shift O) opens the import wizard. See Importing OpenAPI.
- Environments (Alt 3, Ctrl 3 on macOS) shows the Environments panel.
- Open another workspace (Ctrl O) opens the folder picker.
- Recent, the last five requests you opened in this workspace, with their method, folder and when. One click opens it. A request renamed or deleted since is left out, and the list is hidden when there are none. They are remembered per workspace in Postino's config folder, never in the workspace.
- A reminder that dropping an OpenAPI, Postman or Bruno file on the window imports it, and the links to the Quick start, the Shortcuts cheat sheet (F1) and Search (Ctrl K).
What's new tab
After an update, the first time the new version starts, Postino opens a What's new tab with the release notes of that version, next to the workspace it reopens. It opens once: the next start does not show it again. The notes are part of Postino itself, so the tab works offline and Postino makes no request to show it. They are in English, like the release on GitHub.
- The title says What's new in Postino version. View on GitHub opens the release page of that version in your browser.
- The notes list what changed. A number such as #189 links to that issue or pull request on GitHub.
- A checkbox, Show after an update. It is the same setting as What's new after an update in Settings, Appearance.
It never opens by itself on the first install, nor with a pre-release (a version such as 0.6.0-rc.1) or a development build. Open it at any time with Show what's new in the command palette, or with the button of the same name in Settings, About. Close it like any tab.
Postino knows it was updated because it writes the version that ran to last-version.txt in its config folder. If you update from a version older than 0.6.0, which did not write that file, the tab opens too.
Request editor
The top half of a request tab. The URL bar joins the method selector and the URL, and shows {{variables}} as chips. Next to it are the Send button and Code, which opens the code snippet dialog. Below, seven tabs, each with a count when it has content:
| Tab | Contents | Stored in the file as |
|---|---|---|
| Params | Query parameters, a key and value table | ::: query |
| Headers | Request headers, a key and value table | Lines after the request line |
| Auth | None, Basic, Bearer or API key, with its fields | ::: auth <type> |
| Body | JSON, Text, XML, Form or None, with a code editor and a Format button | ::: body <type> |
| Pre-request | JavaScript run before sending | ::: pre |
| Post-response | JavaScript run after the response arrives | ::: post |
| Docs | Free notes about the request, in Markdown | ::: docs |
All of it is explained in Building requests.
Response pane
The bottom half of a request tab. Before the first send it shows what will be sent: the request resolved with the active environment, and where each variable comes from. After a send, the right side shows the status badge (green for 2xx, blue for 3xx, amber for 4xx, red for 5xx), the total time and the body size. The tabs are:
- Body, with Pretty and Raw views, a copy button and a search button.
- Headers, with the count of response headers.
- Tests, with
passed/total, green when every test passed and red otherwise. - Console, with the output of
console.log()and friends.
Warnings, such as unknown variables or an invalid TLS certificate, appear as a strip above the body. See Reading responses.
Status bar
The thin bar at the bottom shows the workspace path, which opens the folder in your file manager when you click it, and, when the workspace is inside a git repository, the current branch (or the short commit hash on a detached HEAD) with the commits to push and pull. When git is available, a click on the branch opens the branch menu. On the right, Unsaved changes appears while the active tab is dirty, and a keyboard button opens the shortcuts cheat sheet. When the updater has a new version ready, the status bar also shows Update ready, restart and a link to the release notes. A portable Windows copy shows Update … available, download instead, which opens the release page.
Command palette
Press Ctrl K (⌘ K on macOS) or click the search box in the title bar. Type a few letters: the palette matches them in order, not necessarily together, so aulo finds auth/login. Matches at the start of words rank higher. Use the arrow keys and Enter to choose, and Esc to close it. A bar at the bottom of the palette recalls these keys.
The palette has three groups:
- Requests
- Every request of the workspace, by path, with its method. Choosing one opens it in a tab.
- Environments
- No environment and every environment, with their shortcuts. Choosing one makes it active.
- Actions
- Send request, Save, New request, New folder, Refresh collections, Import Postman collection…, Import Postman environment…, Import Bruno collection…, Update collection from Postman…, Update collection from Bruno…, Open Settings, Keyboard shortcuts, New workspace…, Open folder…, Show what's new, New load test, Toggle theme and, in builds with an updater, Check for updates. When the workspace is in a git repository it also lists the Git actions, such as Git: Commit and Git: Show log.
Keyboard shortcuts cheat sheet
Press F1 (⌘ Shift / on macOS) or click the keyboard button in the status bar. The Filter shortcuts field at the top has the focus: type part of an action or of its keys, such as tab or ctrl+s, to list only the shortcuts that match. The up and down arrows scroll the list and Esc closes it. The full list is in Keyboard shortcuts.