Postman Alternatives for API Work: curl, HTTPie, and Bruno
A teammate asked me what to use instead of Postman because their team license was not renewing. I use three tools depending on what I am doing. None of them replaces Postman completely, and that is fine.
curl: for scripts and one-off checks
curl is already installed on macOS and most Linux systems, and on Windows 11 it ships with the system. It is the fastest way to see whether an endpoint is alive:
curl -i https://api.example.com/health
curl -X POST https://api.example.com/login \
-H "Content-Type: application/json" \
-d '{"email":"me@example.com","password":"secret"}'
-i prints headers, which is where most API problems show up. Add -v when you need to see the TLS handshake or the exact request being sent.
The downside is state. Every request repeats the token, the headers, and the body. I keep a shell file with variables for a project I am working on, but I would not hand that file to a QA person.
HTTPie: for humans who type commands
HTTPie has the same job as curl with a friendlier syntax:
http POST https://api.example.com/login email=me@example.com password=secret
http GET https://api.example.com/users Authorization:"Bearer $TOKEN"
The output is colored and JSON is formatted by default. It reads well in a terminal and it is easy to paste into a ticket. Install it with pip install httpie or brew install httpie.
I reach for HTTPie when I am exploring an API and want to try ten variations in a row. It is faster to type than curl and the responses are easier to scan.
Bruno: for a saved collection
Bruno is an open-source API client that stores collections as plain text files in a folder. That detail matters more than it sounds: you can commit the collection to Git, review changes in a pull request, and open the same requests on another machine.
Download it from bruno.io. Create a collection, add a request, set the base URL in the collection settings, and use variables for tokens:
Authorization: Bearer {{token}}
Set {{token}} as an environment variable in Bruno, or read it from a local .env file that you do not commit. The collection file can go into the repository without leaking credentials.
Bruno is the closest thing to Postman's workflow of the three: saved requests, folders, environments. It is younger than Postman and some integrations are missing, but for a small team it covers the daily work.
What I use when
- Checking a deployment from a terminal or a CI script: curl.
- Exploring an unfamiliar API for an hour: HTTPie.
- Building a set of requests the team will keep using: Bruno.
I also keep a requests.http file for some projects because VS Code's REST Client extension runs requests straight from the editor. That is another free option if you do not want a separate app at all.
The thing that matters more than the tool
Whatever you choose, put the base URL and the auth token in one place. Teams that copy a full URL with a hardcoded token into every request end up with stale credentials in chat messages and old tickets. A variable, an environment, or a small script is enough to avoid that.
Postman is not a bad tool. It is just heavy for work that often needs one request and a clear answer. These three cover that work with less setup, and two of them are free and open source.