What does HackerNews think of verb?

Organize and send HTTP requests from Emacs

Language: Emacs Lisp

#4 in API
#3 in Babel
#4 in Emacs
#5 in HTTP
#1 in REST API
The "HTTP" format proposed in the article is the same we use with Hurl [1], an Open Source HTTP CLI based on plain text.

  POST http://httpbingo.org/anything/chat
  content-type: application/json
  
  {
      "message": "Hello!"
  }
We extend it a bit to add checks on response, and add request chaining, but it's basically HTTP 1.x as this article shows it. A lot of others tools have the same idea, with minor differences:

- Hurl (I'm one of the maintainer) https://hurl.dev

- HTTP Client https://www.jetbrains.com/help/idea/http-client-in-product-c...

- httpYac https://httpyac.github.io

- restclient.el https://github.com/pashky/restclient.el

- REST Client https://github.com/Huachao/vscode-restclient

- verb https://github.com/federicotdn/verb

And many more...

Worth noting, other tools have taken the YAML route (like Step CI https://stepci.com), JavaScript (k6 https://k6.io/docs/using-k6/http-requests/)... I'm biased of course, I've a tiny preference for the simple plain text format.

And of course, there are also GUI application (Postman, Insomnia, RecipeUI amon others)

[1]: https://hurl.dev

have you checked this https://github.com/federicotdn/verb . Its emacs package and i am able to write and test api's with text files.
Not as usable for testing, but verb.el[1] is a great tool for doing something very similar in org-mode

[1] https://github.com/federicotdn/verb

If you live in Emacs, there is the amazing verb package that does the same, it supports org-mode primarily and also integrates with org-babel nicely.

https://github.com/federicotdn/verb

> I want something much simpler, so I use VS code with a "REST Client" plugin

I follow the same approach. Emacs, Verb[0] and org-mode. An alternative to Verb would be restclient.el[1] but I like Verb more because it works as an extension to org-mode which is great for documentation.

[0] https://github.com/federicotdn/verb [1] https://github.com/pashky/restclient.el

if you are using emacs you can also give this a shot https://github.com/federicotdn/verb

It lets you write the api, test it and generate the documentation all from the same source of truth file.

Great post, with lots of interesting things to improve my workflow! My progression has been 1) rest client 2) org-mode with blocks 3) verb-mode. However, I think most of what is mentioned can be applied equally to verb-mode, which sort of a DSL built on top of org-mode.

[1] https://github.com/federicotdn/verb

After having used postman for sometime, I realized it favors mouse click based workflow and is very resource heavy. I have switched to emacs verb[1] package and combined with some custom function for env (staging/local) management and org-roam for file management, it's much more comfortable to use. I don't have to learn a new set of shortcuts and can use all the other emacs features.

[1]: https://github.com/federicotdn/verb

Rest client is great, but a lot of the cool (emacs) kids have moved over to verb-mode [1]. To be fair, you can probably achieve something similar with org-mode and rest-client, but the verb-mode integration is very nice.

[1] https://github.com/federicotdn/verb

Well, you have `M-x restclient-copy-curl-command` (`C-c C-u` by default) to share a single command.

There is also Verb mode (org-mode extension) which seems like a nice alternative to restclient.el. Learnt about via Impostman[2] which imports Postman collections to both restclient.el and verb.el

[1] https://github.com/federicotdn/verb

[2] https://github.com/flashcode/impostman/