this post was submitted on 06 Jul 2023
137 points (100.0% liked)
Programming
17488 readers
128 users here now
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
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.