Re:Bruno: Fast and Git-friendly open-source API client (Post...
by manquer on Saturday March 09, 2024 @08:28PM
(#39656028)
There is reason they didn’t go with YAML like syntax the author talks about it extensively here
https://github.com/usebruno/bruno/discussions/360
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by lb4r on Saturday March 09, 2024 @08:21PM
(#39656003)
Just out of curiosity, why is the below example more git-friendly than the above? Smaller deltas? (and if so: why?)
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by Cthulhu_ on Saturday March 09, 2024 @06:01PM
(#39655362)
I've used a plugin in both VS Code and IntelliJ that is just that, I just saw someone else post it too: https://marketplace.visualstudio.com/items?itemName=humao.re...
Example:
GET https://example.com/comments/1 HTTP/1.1
###
POST https://example.com/comments HTTP/1.1
content-type: application/json
{
"name": "sample",
"time": "Wed, 21 Oct 2015 18:27:50 GMT"
}
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by Karupan on Saturday March 09, 2024 @06:24PM
(#39655460)
Second this. One of the first VSCode extensions I install and recommend for non-devs in the team as well (BAs, QAs, etc). Kind of insane how human friendly HTTP 1.1 is.
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by schoenobates on Saturday March 09, 2024 @07:16PM
(#39655689)
Intellij (and all the other variations) has something very similar to this called [0]HttpClient. Being able to commit and basically just read the file is very useful. You can also do validation and scripting with it too.
[0]https://www.jetbrains.com/help/idea/http-client-in-product-c...
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by Aeolun on Saturday March 09, 2024 @07:45PM
(#39655849)
I think hurl does this?
Re:Bruno: Fast and Git-friendly open-source API client (Post...
by 7fYZ7mJh3RNKNaG on Saturday March 09, 2024 @06:42PM
(#39655543)
Would love this
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:
We could adopt a format like: