Live data from Hacker News

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

usebruno.com

131–140 of 444 posts

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

#131

Thank you. As soon as Postman asked for a login I uninstalled it and have been curling from text files ever since. My younger coworkers won't drop Postman though. Maybe this will help them switch.

Can't echo this enough. Thank you! Beyond just the login reqs from Postman, the whole Postman UI has become an overcomplicated mess in my opinion. I just want something simple to make remote HTTP calls. I can understand adding some useful extra things like variable interpolation and separate environments, but beyond that, Postman went way off the "enterprisey" deep end.

You should try insomnia

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

#132
post #87

Earlier quoted context omitted.

If you use VS Code REST Client is awesome https://github.com/Huachao/vscode-restclient

If you use IntelliJ based products, the builtin HTTP Client is awesome. https://www.jetbrains.com/help/idea/http-client-in-product-c...

If you use computers, Curl is awesome. https://curl.se/

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

#133
I am using bruno on all my REST projects and the entire team is more than happy. We have bruno file for most endpoints demonstrating basic usage and as soon as something is problematic, someone creates bruno file in the repo and link to it so others can interactively discover what the problem is about. Since its cross platform and doesn't require any kind of on-boarding its joy to use and nobody complained. Previously, people used postman, thunder, curl and whatnot, but now everybody is on the same page. People created all sorts of scripts, such as automatic token refresh, so you jump straight to action. The fact that I can edit it in vscode is also amazing. Thank you.

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

#134

What, if anything, differentiates an "API client" from an "HTTP client" (HTTP client includes TCP client) What is required to be considered an "API client" Perhaps "API client" is "HTTP client" + "JSON parser" Could "JSON parser" be a separate program

API clients mostly expect JSON responses. So, test assertions have to be able to parse the responses and validate them.

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

#135
Funny. I just found Bruno two weeks ago after getting fed up with Insomnia and am loving it. It feels like what Postman and Insomnia were when they started. Simple and to the point.

There are a few minor features I miss (being able to bulk edit headers is the main one), but overall I highly recommend it.

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

#136
I really like the idea of serializing requests to a Git-friendly text format.

But if we want a Git-friendly text format, why not mimic HTTP/1.1 request syntax as much as possible? Maybe with Jekyll-like YAML front matter for metadata that doesn’t fit?

So for Get Users.bru instead of the current example of:

  meta {
    name: Get Users
    type: http
    seq: 1
  }
  
  get {
    url: https://reqres.in/api/users
    body: none
  }
  
  headers {
    Content-Type: application/json
  }
We could adopt a format like:

  ---
  name: Get Users
  type: http
  scheme: https
  seq: 1
  ---
  
  GET /api/users HTTP/1.1
  Host: reqres.in
  Content-Type: application/json

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

#138

Earlier quoted context omitted.

I know people don't love VS Code, but is there a reason Thunder Client isn't more popular? I know it's feature lacking compared to postman, but more so than curling?

Team options are behind the paywall. Besides, bruno is simply better.

Not necessarily so. We don’t pay but our small team still shares projects with the tool.

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

#139

Earlier quoted context omitted.

If you use IntelliJ based products, the builtin HTTP Client is awesome. https://www.jetbrains.com/help/idea/http-client-in-product-c...

If you use computers, Curl is awesome. https://curl.se/

In the same sense that no one needs a graphics editor when imagemagick is available via the command line.

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

#140

I really like IDEA's .http files [1] Very similar idea as Bruno: everything is configured in text, which I always find myself more productive in that full blown GUI where I need to tab from edit text to edit text to get anything don. [1] https://www.jetbrains.com/help/idea/http-client-in-product-c...

Several ides support .http files
Post reply on HN