134
Postman alternatives?
(programming.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I use Hurl. Everything is just a text file:
is it based on the http file standard? https://www.jetbrains.com/help/idea/exploring-http-syntax.html
it seems like even jetbrains has a cli you can use https://www.jetbrains.com/help/idea/http-client-cli.html#environment-variables
It's very similar to what JetBrains has and you can easily translate between the two (assuming you aren't using assertions or any Hurl-specific features), but not exactly the same syntax.
I tend to go with Hurl because it's self contained and you can do things like throw it in your CI builds.
that's really neat... I've wanted to use it in CI but hadn't found a way. I might look into this.
Came here to write this, so you get my upvote instead.
I don't actually use Hurl, I use Jest (since I'm usually writing in TS) so that I can prep state before and confirm it afterwards and fully ensure that the request did what it was supposed to do, but if you're already just using Postman, you're likely not testing your state, and Hurl is a SIGNIFICANT improvement.
Edit text files in any editor. Run it from the command line. Include it in your CICD with ease. It's an incredible tool and it deseres to be far, far more popular than it is.