Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Vial-Http – Simple HTTP REST Tool for Vim (github.com/baverman)
81 points by 0x54MUR41 on April 7, 2018 | hide | past | favorite | 15 comments


If you're into emacs there is something similar called restclient.el https://github.com/pashky/restclient.el


I normally use VRC (Vim REST Client) for testing and debugging APIs from within Vim. 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.


This 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?


Well done, it looks really neat, although I personally prefer the simplicity of just using curl in another tmux panel and keep Vim light.


If you're using Plug (not sure about other plugin managers) you can just load it on demand.


Very nice. Currently building a new CRUD app, and debugging with curl. Ill have to try this out. The templating looks cool.


Can we stop calling these "REST" tools? They're just HTTP clients/tools. There's nothing "REST" about them.


Author 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 :)


I gotcha. Sorry for getting ranty, but it does seem like a useful tool. Good job on shipping something useful!


What's the big deal? Saying REST conveys the idea that it's for working with app specific JSON or XML over HTTP.


That's not what rest means, though.


Sure, you're right, but is it helpful to be so pedantic about it?


I 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.


So why not call it RPC?


I had imagined this would be for neovim only... not so. This looks great!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: