Can someone help me understand the difference between the .bru file and an OpenAPI spec (Swagger), aren't they representing the same thing with different syntax?
Bruno: Fast and Git-friendly open-source API client (Postman alternative)
341–350 of 444 posts
Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#342Earlier quoted context omitted.
You’re making the case for automation, which happens to be something the shell excels at. Use unexported shell variables or command substitution (e.g., “$(pbpaste)”). Directly use the result of the auth call without going through the clipboard if possible. Create a shell script if shell history isn’t enough. Use interactive notebooks if you need something more advanced. The possibilities are infinite.
This feels along the lines of the infamous Dropbox comment
Also expecting end users to develop their own file syncing solution on top of FTP is unreasonable. Expecting software engineers to be able to use curl instead of a GUI form is not.
Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#343Earlier quoted context omitted.
Of course you can. You can use any tool that lets you write down commands, run it, and edit it. Shells, editors, interactive notebooks like Org Mode, etc. The beauty is that it's just text that you can copy and paste between your tool of choice. You're not locked in to a single tool.
You're describing the same tool with a much worse UI of recreating the tool yourself (by everyone). There is much value in avoiding that, hence people use integrated tools even with the risks of lock in
Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#344Lately Postman suddenly required creating an account to their cloud, to use my five different rest requests from scratchpad. I got annoyed so bad that deleted that piece of cr*p immediately. Never looking back. Then I found Bruno and fell in love. Thanks for the great work!
Imagine this cloud enshitification reaches everything else. You need a cloud account to curl or wget, use ffmpeg or simply sed lol
Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#345It was nice to find out about the for-pay golden edition in this thread to support Bruno’s efforts. The feature split for free vs Individuals vs Organizations seems well done.
As feedback to the Bruno team:
for Individuals - I most value the gRPC/websocket, then load-testing
for Organizations - My org would most value central license mgmt
Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#346Earlier quoted context omitted.
I use httpie's CLI tool for testing application/json endpoints. That and some jq really can make some things nice. (Apparently it has a GUI version as well, but I'm not interested in trying it.)
I also have fallen back to just using curl + jq and a set of saved commands since both postman and insomnia have decided to make my life harder not easer. good old plain unix command line tools never fails you.
http localhost:1234/end/point Authorization:$bearertoken arg1=hello arg2:='{"a":42}'
and get colorized JSON out from it. I use my script called Authorization to fish out the bearer token so in my case the call is just http .. "`Authorization`" ..
So while one can achieve the same with some jq+curl, it perhaps is a bit more prepackaged in httpie.Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#347Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#348Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)
#349Lately Postman suddenly required creating an account to their cloud, to use my five different rest requests from scratchpad. I got annoyed so bad that deleted that piece of cr*p immediately. Never looking back. Then I found Bruno and fell in love. Thanks for the great work!
We used Postman but it got forbidden in our org for that reason, so no more. Can't say I really miss it. I personally prefer just using a jupyter notebook for these kinds of tasks. With a custom tool like this it becomes a dead end with the data. Maybe you want to decode it if it is on a binary format. Or you want to plot some basic stats?
I never quite saw enough value in tools like postman. Usually either what you are doing is trivial enough for vanilla curl or complex enough to warrant reaching for a general purpose programming language.