As much as I think that’s correct a lot of the time, something like Bruno has value too. Implementing complicated auth for an annoying service once and reusing it across several pre-written requests, useful features like a GUI and history to see prior responses from an endpoint, being able to share the “collection” in the repo as examples/developer tools that’s maintained alongside the code, writing docs with each request to explain its usage, this stuff does add value that isn’t trivial to do with curl.
I have been working as a professional in the dev space for over 25 years. I have contributed to developing the same software over a dozen times, some even at the same company. Over time the tools have changed, the people have changed and my role has changed. But the overall specs have remained very similar if not the exact same.
Recently I did a job for a company where I was a consultant on a large project, they specifically sought me out for my expertise in the subject matter (having been involved in many similar projects). One of the C suites left the company near the end of the project, no reason given. This week he contacted me, he is now a C suite at another big company. They want to do the exact same project and want to hire me because of my expertise. I laughed my ass off, but am very happy with the work and he is a good guy (as far as C suites can be at least).
I think they’re point is that curl is great but then you have to have a way to render it to know if it’s correct. With apis you can use jq, but yeah a dump of html isn’t really useful to humans
Yeah but we’re talking about API tools, not web browsers. People are using postman to see JSON, XML, or whatever horrible format the devs on the other side chose to use, not to render HTML graphically. If you query an HTML page using curl, you should get the HTML back, I don’t see what’s the problem
Just use curl dammit!
As much as I think that’s correct a lot of the time, something like Bruno has value too. Implementing complicated auth for an annoying service once and reusing it across several pre-written requests, useful features like a GUI and history to see prior responses from an endpoint, being able to share the “collection” in the repo as examples/developer tools that’s maintained alongside the code, writing docs with each request to explain its usage, this stuff does add value that isn’t trivial to do with curl.
The deeper I get into Linux, the more I feel exactly this about most software in general. We just love reinventing the wheel, don’t we?
I have been working as a professional in the dev space for over 25 years. I have contributed to developing the same software over a dozen times, some even at the same company. Over time the tools have changed, the people have changed and my role has changed. But the overall specs have remained very similar if not the exact same.
Recently I did a job for a company where I was a consultant on a large project, they specifically sought me out for my expertise in the subject matter (having been involved in many similar projects). One of the C suites left the company near the end of the project, no reason given. This week he contacted me, he is now a C suite at another big company. They want to do the exact same project and want to hire me because of my expertise. I laughed my ass off, but am very happy with the work and he is a good guy (as far as C suites can be at least).
That’s a great story lmao So it’s DRY… unless you’re getting paid to do it? 😂
Close air supportGetting paid for it covers a multitude of sins-Curl “https://justuse.org/curl/”
-Returns a ton of html stuff
Can’t even comply with their own argument.
still gives HTML
Yeah? That’s what the response is. What do you expect?
I think they’re point is that curl is great but then you have to have a way to render it to know if it’s correct. With apis you can use jq, but yeah a dump of html isn’t really useful to humans
Yeah but we’re talking about API tools, not web browsers. People are using postman to see JSON, XML, or whatever horrible format the devs on the other side chose to use, not to render HTML graphically. If you query an HTML page using curl, you should get the HTML back, I don’t see what’s the problem
Oh. Fair enough. The intent for curl is definitely to display the HTML as it’s whole point.
Anyways.
curl -L -o “/tmp/your.html” https://justuse.org/curl && librewolf “/tmp/your.html”
librewolf is overkill I was expecting to hear something like links2
Yeah, but It’s more that you probably already have a browser open, so it’s better to just reuse the resources
Also, just replace it with your favourite browser. It should also just work
I tried the suggestion and saw that the original complaint persisted.
I didn’t think anything to be honest.
deleted by creator
I tried the suggestion and saw that the original complaint persisted.
I didn’t expect anything to be honest.
here ya go.
curl cheat.sh/curlIt would be fun to create a CURL converter. Just simple aliases or conversion tool.
I just looked it up, looks like there may be something like it here: https://github.com/christianhelle/curlgenerator
I like the look of this: https://www.createopenapi.com/