Skip to content

Do you use POSTman or RESTClient for hitting HTTP APIs? What about doing it from Vim instead of your browser?

License

Notifications You must be signed in to change notification settings

Kazark/vim-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Client for Vim

Use POSTman in Chrome or RESTClient in Firefox for hitting HTTP APIs? What about doing it from Vim instead of your browser?

This is a cURL wrapper for Vim.

Currently supported commands:

:HttpDelete localhost:8080/api/thing

which sends a DELETE request to the URL and then pops up a window with the HTTP response.

:HttpGet localhost:8080/api/thing

which is like :HttpDelete, but with the GET verb instead.

:HttpPost localhost:8080/api/thing

which POSTs the contents of the current file to the given URL and then pops up a window with the HTTP response. A Content-Type header is added based on the filetype.

:HttpPut localhost:8080/api/thing

which is like :HttpPost, but with the PUT verb instead.

About

Do you use POSTman or RESTClient for hitting HTTP APIs? What about doing it from Vim instead of your browser?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published