Live data from Hacker News

Bruno: Fast and Git-friendly open-source API client (Postman alternative)

usebruno.com

411–420 of 444 posts

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#411

Lately 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!

Postman is basically unusable in a lot of large companies now as it's often forbidden to save credentials on external cloud.

For internal APIs, check out Aspen's private-by-default approach & AI powered testing to streamline your workflow. No cloud storage & built-in JSON editing.

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#412

What I want, is an API explorer for CLI. A tool that takes an OpenAPI Spec and then converts it into a set of examples and REST endpoint calls I can just fire off or mess with. Kinda like how Swagger does for their web-based docs, but for CLI, and bonus points if you can generate some examples. I feel like this should be possible with today's tech, but am coming up dry finding anything while searching.

Have you tried using an AI-powered HTTP client for exploring APIs? It can take an OpenAPI spec and generate code snippets based on your requests, letting you test and mess around with endpoints directly. Sounds pretty similar to what you described! Just sayin', there might be a tool out there that can streamline your workflow

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#413

> What if the folders and requests within the API collection could be mapped to folders and files on the filesystem? … Ultimately, I realized that file-based API collections were the future. Unlike other tools, such as Postman or Insomnia, Bruno would allow users to maintain their collections in a source code repository using Git for collaboration. Can someone help me understand what is meant by this API can be mappe…

probably thinking of mapping the API routes to folder structure? like customer/transactions/{id} mapped to similar folder structure with a file containing the source for the API call

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#414
post #23

Can someone explain what Postman or Bruno is for? I know it's something for interacting with apis but why would i use it. I interact with apis a lot with curl or wrapper in my languages but never really needed something else?

Bruno/Postman is basically curl + a filesystem + git + jq + make.

If you're really comfortable with all those tools, you won't understand Postman because you'll say "why don't people just chain all these tools together?". It's like the famous hn comment on dropbox, "why don't people just use rsync"?

It's technically true, and if you're adept at those tools, you should probably use them instead of Postman. But yea, it's a useful product for a bigger set of people.

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#415

Earlier quoted context omitted.

[flagged]

So, what exactly was the point of your rant? You don’t care enough to read the manual, but clearly care enough to ask a bunch of questions that could have easily been answered by yourself with a modicum of effort. The home page even has an example of the file format, is even opening the page too hard of an ask? Did you just want people to do all the work for you to “convince” a random stranger? In what world is that…

Not my proudest moment, I will punish myself with a 1 month HN hiatus. (so don't expect an answer)

I guess my take was what was his reason for answering what I initially posted if all he wanted was to RTFM me?

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#417
post #406
post #392

Earlier quoted context omitted.

You may be able to replace some of your curl+shell with Hurl — https://hurl.dev/#also-an-http-test-tool .

Why should someone bother to do this, if they already know and have a handle on cURL's syntax?

From the first three lines of the linked-to paragraph:

> Hurl can run HTTP requests but can also be used to test HTTP responses. > Different types of queries and predicates are supported, from XPath and JSONPath on body response, to assert on status code and response headers.

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#418
post #47
post #23

Can someone explain what Postman or Bruno is for? I know it's something for interacting with apis but why would i use it. I interact with apis a lot with curl or wrapper in my languages but never really needed something else?

I really like to use Insomnia (Bruno alike) to import all project API's and debug API's over Insomnia. Does the job much faster for me.

Insomnium is a fork without all the signup requirement bs

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#419

Earlier quoted context omitted.

I was responding to a claim that essentially boiled down to shells can't parametrize input. How is it even remotely comparable to "the infamous Dropbox comment" to point out that shells can do that better than GUI tools? 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.

You've the exact same attitude. If something is easier and more convenient then people will use it

By attitude, you mean not agreeing with every negative comments made about curl regardless of its accuracy. It guess it was just a thinly veiled insult for not being on the "right" side, then.

These tools are Mad Libs for curl commands presented as GUI forms. It does a subset of what curl + shell does while requiring more clicks. The target demographic are people who need to know the tool it's meant to replace in order to do their jobs effectively. That not easier or more convenient in my book.

Re: Bruno: Fast and Git-friendly open-source API client (Postman alternative)

#420
post #406
post #392

Earlier quoted context omitted.

You may be able to replace some of your curl+shell with Hurl — https://hurl.dev/#also-an-http-test-tool .

Why should someone bother to do this, if they already know and have a handle on cURL's syntax?

Compared to curl, you can:

- chain requests passing data from a request to another,

- add tests on every responses: body, headers, certificates, etc... You can use JSONPath or XPath for example,

- there is some sugar syntax to construct request bodies (GraphQL body is annoying with curl, JSON etc...),

- there is some sugar syntax for retrying requests on asserts, delaying requests etc..

Under the hood, Hurl uses libcurl so a lot of curl's options are exposed through Hurl (and we benefit of a lot of curl features like HTTP/3, IPV4/IPV6 etc... and speed and reliability of course!).

(I'm one of the maintainers)

Post reply on HN