4 ms·
Vial-Http – Simple HTTP REST Tool for Vim
- nmaludy 9y agoIf you're into emacs there is something similar called restclient.el https://github.com/pashky/restclient.el https://github.com/pashky/restclient.el
- basil 9y agoI normally use VRC (Vim REST Client) for testing and debugging APIs from within Vim. https://github.com/diepm/vim-rest-console https://github.com/diepm/vim-rest-console Pretty sure VRC uses curl under the hood to perform all requests. It’s great being able to use plain text within Vim to formulate and reuse API calls right next to your code.
- _ix 9y agoI had imagined this would be for neovim only... not so. This looks great!
- pionar 9y agoCan we stop calling these "REST" tools? They're just HTTP clients/tools. There's nothing "REST" about them.
- Canada 9y agoWhat's the big deal? Saying REST conveys the idea that it's for working with app specific JSON or XML over HTTP.
- jimktrains2 9y agoThat's not what rest means, though.
- Canada 9y agoSure, you're right, but is it helpful to be so pedantic about it?
- jimktrains2 9y agoI mean, we're not talking about proper mime types here, we're talking about the basics. Rest, even restful, implies a lot of things. A generic http client doesn't.
- JshWright 9y agoSo why not call it RPC?
- bvrmn 9y agoAuthor here. Yes, vial-http is not a REST tool, there are no discovery and navigation and all other high level stuff. But it can provide pretty comfortable experience with REST services too. SEO :)
- pionar 9y agoI gotcha. Sorry for getting ranty, but it does seem like a useful tool. Good job on shipping something useful!
- idiocratic 9y agoWell done, it looks really neat, although I personally prefer the simplicity of just using curl in another tmux panel and keep Vim light.
- lillesvin 9y agoIf you're using Plug (not sure about other plugin managers) you can just load it on demand.
- techman9 9y agoThis seems very cool, but it's hard to imagine myself ever using this for anything. What use cases do you imagine this has or have other people found for something like this?
- rkcf 9y agoVery nice. Currently building a new CRUD app, and debugging with curl. Ill have to try this out. The templating looks cool.