sponsor Vim development Vim logo Vim Book Ad

Vim REST Console (VRC) : A REST console for Vim

 script karma  Rating 66/25, Downloaded by 4296  Comments, bugs, improvements  Vim wiki

created by
diepm
 
script type
utility
 
description
This plug-in is to help send requests to and display responses from RESTful
services in Vim. It's useful for working with REST services that use JSON to
exchange information between server and client such as ElasticSearch.

VRC can be used as a cURL client  for simple needs such as getting a
HTTP page response or posting to a form.

Requirements:
  * cURL
  * Vim 7.4 (might work with the older versions)

Features:

* Execute REST request and display the response on a separate display buffer.
* Make changing/adjusting request body easy.
* Can have multiple REST request blocks per VRC buffer.
* Can have multiple VRC buffers where they all share the same output buffer or
  each can have its own output buffer.
* Particularly useful for working with REST services that require the request
  body to be sent in JSON such as ElasticSearch.
* Syntax highlighting.
* Supported verbs: GET, POST, PUT, HEAD, PATCH, OPTIONS, and TRACE.

For more information

http://github.com/diepm/vim-rest-console
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-rest-console-3.0.2.tgz 3.0.2 2017-06-14 7.4 diepm * Fix shell escape BC with Vim 7.4.
* Add CHANGELOG.
* Update docs.
vim-rest-console-3.0.1.tgz 3.0.1 2017-06-10 7.4 diepm * Fix bug `-k` auto included.
* Fix response content syntax-highlighting/formatting detection.
vim-rest-console-3.0.0.tgz 3.0.0 2017-05-26 7.4 diepm + Support raw cUrl options.
+ Support in-line data for _bulk request of Elasticsearch.
+ Deprecate some VRC options in favor of cUrl options.
vim-rest-console-2.6.0.tgz 2.6.0 2017-01-31 7.4 diepm + Support global variable declaration
+ Support consecutive request verbs
+ Add option vrc_response_default_content_type
+ Bug fix: https://github.com/diepm/vim-rest-console/issues/42
vim-rest-console-2.5.0.tgz 2.5.0 2016-05-06 7.4 diepm + Set commentstring so that lines can be commented by commenters.
+ Fix Content-Type to default to application/json.
+ Add option vrc_show_command to include cUrl command with output.
vim-rest-console-2.4.0.tgz 2.4.0 2016-04-12 7.4 diepm * Support POST empty body.
* Option to horizontal-split output buffer.
* Option to transform \uXXXX instances to corresponding symbols.
vim-rest-console-2.3.0.tgz 2.3.0 2016-03-24 7.4 diepm * GET request can have request body.
* Request body can be specified line by line.
vim-rest-console-2.2.0.tgz 2.2.0 2016-02-09 7.4 diepm Add support for PATCH, OPTIONS, and TRACE.
vim-rest-console-2.1.1.tgz 2.1.1 2016-01-30 7.4 diepm Incompatibility fix
vim-rest-console-2.1.0.tgz 2.1.0 2016-01-26 7.4 diepm * Add global section for default host and headers.
* Add options for connection and max timeout.
vim-rest-console.tar.gz 2.0.0 2015-11-24 7.4 diepm * Support POST data from external files.
* Proper use of cURL commands for HTTP verbs.
* Request body is sent based on HTTP verbs.
  - GET, HEAD, DELETE: as GET params.
  - POST, PUT: as POST params.
* Remove awkward syntaxes.
  - Option `vrc_nl_sep_post_data_patterns` removed.
  - GET params can be specified in request body.
vim-rest-console-v1.3.0.tgz 1.3.0 2015-06-04 7.4 diepm * Add option to follow redirects.
* Add auto-formatting response.
* Add option to include/exclude response headers.
* Add some tips for output syntax highlighting.
vim-rest-console-1.2.0.tgz 1.2.0 2015-05-30 7.4 diepm * Can enable/disable the default mapping.
* Add support for cookie jars.
vim-rest-console-1.1.0.tgz 1.1.0 2015-05-30 7.4 diepm Add the capability to set headers in block requests
vim-rest-console-1.0.1.tgz 1.0.1 2015-05-28 7.4 diepm Add 'vrc_header_content_type' option to set the request header's Content-Type. It defaults to 'application/json'.
vim-rest-console.tgz 1.0.0 2015-05-27 7.4 diepm Initial upload
ip used for rating: 18.212.87.137

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github