utools-curl
一、插件介绍
该插件是一款可以根据curl命令快速发起请求,并提供可视化界面进行参数更改、返回结果查看。
二、使用场景介绍
在日常开发中,经常需要复制测试环境的curl在本地进行调试:
1. 传统方式需要五步
- copy浏览器中的curl命令
- 打开文本编辑器
- 手动进行替换域名
- 复制新curl命令
- 命令行执行
2. 使用该插件现在只需两步
- copy浏览器中的curl命令
- 呼出utools,回车即可
三、插件使用说明
- F12打开浏览器调试工具 > Network > 选中某条请求右键 > copy > copy as curl (bash) > 这样就得到了一条curl命令
- alt+space > 呼出utools
- 回车进入插件即可
四、插件效果图预览
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
JetBrains OS licenses
utools-curl
had been being developed with WebStorm
IDE under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express my thanks here.