Most active commenters

    ←back to thread

    536 points helloguillecl | 16 comments | | HN request time: 0.41s | source | bottom
    1. pjio ◴[] No.45652712[source]
    Question: Do I miss something by not using Postman? My alternatives for development are "Edit and Resend" of a request (in Firefox) and plain old curl scripts for reusable examples.
    replies(9): >>45652888 #>>45652909 #>>45652942 #>>45652969 #>>45653266 #>>45653436 #>>45653499 #>>45653535 #>>45653691 #
    2. danparsonson ◴[] No.45652888[source]
    Not Postman specifically but a client like that will allow you to prepare a whole set of different requests and save them so you can build up a test suite, plus some of them do things like scripting, chaining requests together etc. It's like the difference between a text editor and an IDE, so it depends on your needs really.
    3. ActorNightly ◴[] No.45652909[source]
    The only nice feature is being able to paste a url, get parsed parameters, and then edit all the things using the UI.

    Other then that, its same old curl.

    replies(1): >>45654051 #
    4. Mashimo ◴[] No.45652942[source]
    We use it a bit at our company. We have a collection file that includes a ton of requests with headers and body. Developers can with ease load that collection file and run it against their own server, and also quickly change to a different server with just a click.

    I guess a substitution would be a git repo with curl scripts and environment variables?

    We also have some non-tech people who use postman to run tests.

    replies(2): >>45652994 #>>45653111 #
    5. XorNot ◴[] No.45652969[source]
    These days I use jupyter notebooks and requests.

    At the end of the day with Postman you wind up trying to codify requests via collections, which tends to just be programming in a more limited language.

    6. skylurk ◴[] No.45652994[source]
    > I guess a substitution would be a git repo with curl scripts and environment variables?

    Yep, and works well for us.

    7. homebrewer ◴[] No.45653111[source]
    A closer replacement would be https://hurl.dev or the HTTP client built in to every JetBrains IDE + <https://www.jetbrains.com/help/idea/http-client-cli.html#tes...>, depending on what other tools your org uses.
    replies(1): >>45654441 #
    8. voidUpdate ◴[] No.45653266[source]
    We use it at my work because one team will create the backend, and another team will create the frontend, and its useful to be able to share a big list of all the endpoints, along with how to use them and the expected result that can all be run, as well as handling all the auth for you
    replies(1): >>45653353 #
    9. aiven ◴[] No.45653353[source]
    OpenAPI also has examples and auth. But, like Postman, it is tied to your service, not some 3rd party.
    10. cvak ◴[] No.45653436[source]
    I used to use postman, before they become greedy, now I use Bruno.

    But to your question - I have saved based authenticated request to our company useful APIs - github/jira/artifactory - so when I want to string together some micro tool to do something in batch, I don't have to remember where do I create API key, and how do they accept it.

    11. piva00 ◴[] No.45653499[source]
    I use a mix of tools, depending on needs: `curl` scripts for things I might need to automate on barebones OS installations (Linux/macOS), HTTPie on my local CLI env if I'm debugging something where I need to mutate parameters quickly: making sequential calls, many requests with varying parameters; and Insomnia as GUI where I can save requests with parameters, headers, etc. to be re-used during development.

    Each one has its strengths, and weaknesses, Insomnia can export the saved requests as `curl` commands so it's a nice visualisation to iterate over a complex call until it's working, and then be exported if needed to be automated; `curl` is quite ubiquitous but clunky to remember the exact arguments I might need; HTTPie has a nice argument syntax so it's quite readable to be quickly edited but isn't present without installing Python, pip, and pulling it.

    12. pjmlp ◴[] No.45653535[source]
    The UI/UX, however you can get similar workflows in Insomina (while it doesn't follow Postman's footsteps), and IDE tooling.
    13. coldtea ◴[] No.45653691[source]
    No, but you probably miss something for not using HTTPie
    14. aembleton ◴[] No.45654051[source]
    Being able to easily switch between dev, stage and prod is useful
    replies(1): >>45660030 #
    15. lostmsu ◴[] No.45654441{3}[source]
    +1 to .http file support in JetBrains and VS proper
    16. ActorNightly ◴[] No.45660030{3}[source]
    In terms of just issuing requests, you can do the same with either python or curl and just scrips.