4 ms·
For simple requests where it's just convenient to have them in a list, with a description/easy to find for replaying, a VSCode extension like Rest Client [0] ca
by gadrev 5y ago
For simple requests where it's just convenient to have them in a list, with a description/easy to find for replaying, a VSCode extension like Rest Client [0] can be useful instead of the desktop apps. Well, VSCode is a desktop app too, but if you already use it... :P
I like it because you can just write a text file with the request and any comments you need around them, and... being just text, it's so easy to manipulate.
When I need scripts for special auth I fall back to postman though, haven't digged enough to see if I can make it work with that addon (or any other one).
Also there's Thunder Client [1] which I haven't tried but apparenly has more features.
EDIT: references
[0] https://github.com/Huachao/vscode-restclient https://github.com/Huachao/vscode-restclient
[1] https://www.thunderclient.io/ https://www.thunderclient.io/
- vbezhenar 5y agoIf you're using Intellij Idea, it supports similar http requests as well. Very convenient as those are just text files.
- hdjrudni 5y agoIntelliJ rewrote this awhile back...used to be more GUI heavy. As much as I love text, it's harder to manipulate the GET vars now :\
- nine_k 5y agoSame thing is available for Emacs. I suspect that Vim, Sublime, or Notepad++ should likely already have a good equivalent of it, too.
- dpipemazo 5y agoSublime has requester which works quite well if you’re familiar with the Python requests syntax. You write the query in the equivalent Python line and then use some hotkeys to execute/send it. Variables can be used/stored in the file for common, verbose variables such as auth tokens. The response comes back in a new tab and it’s fairly easy to search through.
- shaan7 5y agoYep. VSCode's Rest Client extension is amazing, I can just have plain text files with everything I need to my cloud drive (and maybe even git repo to share with team).
- kingcharles 5y agoThat REST client is awesome, thank you for the tip.