0

My colleagues and I maintain a collection of (REST) requests, that we share via git. We were happy users of Postman until they removed the import feature. Our intended replacement Insomnia technically offers that feature, but the export is one JSON file in one line, with makes syncing via git very annoying. On top of that, the export contains ids with change with every export, so meaningful git diffs are not possible even if the export is formatted. So we are looking for alternatives, but there are just too many options to analyse them all properly and they may not all last very long, so I believe a question here where answers can be updated is useful.
We are looking for an API client that must:

  • have a GUI where requests can be edited and organized
    we are technical but not that technical
  • be stable -> can be used productively now
  • store each request in its own file
    so we can comfortably sync via git or other file based sync technologies (e.g. nextcloud)
  • not be expected to force users to sync via their own cloud sync in the near future
  • be free to use (for what its worth, we have IntelliJ licences)
  • support
    • private variables, so secrets can be defined by each user and interpolated into requests, but the secrets are not synced.
    • public variables, so multiple URLs can be used in the same request and these values can be synced.
  • be able to send REST requests

explicitly optional:

  • open source
    even an open source app like Insomnia can move towards the cloud, and if a closed source app offers everything we need we want to consider it
  • testing capabilities
    as long as we see the response to our requests we are fine
2
  • "not be expected to force users to sync via their own cloud sync in the near future" - you should delete or reword that bullet points as I doubt there are any clairvoyants here. I guess you instead mean "not publicly announced that they'll switch to cloud model in the near future"
    – Destroy666
    Commented Oct 24, 2023 at 9:55
  • 1
    I've used "expected" on purpose here. IMO that doesn't necessarily point to prophecy but it does allow for educated guesses. Maybe a team hasn't publicly announced a plan to switch to a cloud model but a careful observer can see it coming nonetheless? (because of economic pressure, the overall strategy of the company, ...). I want to allow answers to include such factors to help users make a decision
    – user2740
    Commented Apr 9 at 11:54

3 Answers 3

0

"bruno"?

There was a discussion on Hacker News recently: Tell HN: Postman update removes all your stuff if you refuse to create account

In the comments people mentioned a tool "bruno" , (github) that might do what you need.
Admittedly, I haven't tried it myself yet.

In this issue thread on github there is a table with pros and cons of similar apps.

0

You could try very popular and open source hoppscotch. It definitely has saving collections to a file, but I don't remember its structure. Other features you listed are also supported.

0

If you don't have time to go through all of the tools, I suggest this postman alternatives article that I've written for the same purpose. There is a table at the bottom of the article where you can see what features are available. In terms of Git sync, most tools offer the ability to export your data and sync it manually. Automatic Git sync is something that not all tools offer. For example, my tool, Testfully, offers Git Sync, but it's not automatic; we're working on it to make it automatic. The export file is Git-friendly, and we constantly work on solving issues related to redundant Git diffs. For example, when we export your data, we always sort based on their date to make sure you don't get random diffs because an element was moved from the first position to the second position.

1
  • 1
    Referring to an article makes this a link only answer, which is not what is required. Commented Apr 9 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.