hypeatei
10 hours ago
There's also hurl: https://hurl.dev
You define all your requests in a plaintext format and can inject variables etc... plus the name is kinda funny.
jicea
5 hours ago
Hi maintainer of Hurl here, thanks for the link; Hurl is using libcurl as its HTTP engine (you can for instance use --curl to get an export of curl commands). In a few words, if you just use Hurl, you just use curl also...
dprotaso
5 hours ago
Curious is there a go lib that can read the config file? I’d love to have this in some testing to make it more accessible.
anotherhue
8 hours ago
Emacs had something like this long ago (of course it did).
https://github.com/pashky/restclient.el
I also like httpie but they seem to have gone commercial.
sointeresting
7 hours ago
I use emacs restclient all the time. I have requests saved in my orgmode notes that I can run with a simple C-c C-c. It's great.
4b11b4
5 hours ago
You're using this as well?
sointeresting
2 hours ago
Ya I babel all sorts of things. I have sql queries saved in my notes for things like creating a user after I reset the project locally. Common rest queries. I create an orgmode heading for every ticket I pick up and often end up with rest and/or sql queries littered in the notes for testing and development and I can run them right from the notes and when I'm done with the ticket I can just copy/paste them into the pull request description to fill out the manual test steps for those reviewing.
blueflow
10 hours ago
Basically a shell script with a curl invocation in it, except you need to install extra software to execute it. Misses the point of the article.
hypeatei
10 hours ago
I mean, the article did say:
It doesn't need to render a fucking Chromium instance to make a web request. It doesn't depend on a service to run. It doesn't require an "Enterprise" subscription for basic features.
So I'd say it meets all of the criteria except being on your machine already.millerm
9 hours ago
Yup. Article mentioned `jq` as well. That's an external tool (and so is cURL if we are all being honest here).
bravetraveler
9 hours ago
Their words, not mine; the first header: "It's already on your machine". We can belabor it, but the domain is 'justuse'. No room for 'except' [unless you're reasonable, of course].
The 'egregious' things are charging to share what will fit very well in SCM (preventing real automation)... and breaking due to Online First/only. It makes sense to require the endpoint I'm talking to. Why would Postman need AWS/us-east-1 [0] for a completely unrelated API? Joyful rent-seeking.
cURL, your suggestion (hurl), or HTTPie all make far more sense. Store what they need in the place where you already store stuff. Profit, for free: never go down. Automate/take people out of the button-pushing pattern for a gold star.