vim

vim下模拟http请求

2019-06-16  本文已影响0人  theache

今前几天找了款好用的vim插件(前提需要安装coc.nvim)。

安装coc-psot

在vim命令模式下键入:CocInstall coc-post即可

image

使用coc-post

在vim命令模式下键入:CocList commands

image
选择post.new输入test作为文件名
image
写入请求的地址等参数
image
在vim命令模式下键入:CocList commands选择post.do
image

这样就完成了一次http请求右侧可以查看相关的返回内容。test.post文件默认的存储路径是~/.coc-post需要的可以删除里面的文件。:CocList post可以查看历史的请求文件。

上一篇 下一篇

猜你喜欢

热点阅读