当前位置:网站首页>rest client: a lightweight vscode plugin for api requests
rest client: a lightweight vscode plugin for api requests
2022-08-07 07:54:00 【big lin】
Personally, this plug-in is quite easy to use, because vscode is commonly used, and api requests are commonly used, but downloading postman for this is troublesome and unnecessary, so the rest client is here
1. Search and install
Search directly for the REST Client installation in the vscode extension, and it has now reached the v0.25.0 version
2. Calling method
Just create a xxx.http file, and then write it in the following format, the send request will appear, click to request the interface
@type = application/[email protected] = Bearer xxxGET http://xxx?xx=xx HTTP/1.1Content-Type: {{ type }}Authorization: {{ token }}###POST http://xxx HTTP/1.1Content-Type: {{ type }}Authorization: {{ token }}{"account": "Lin Da yo","password": "xxxxxx"}3. Detailed explanation of usage
We generally use get and post interfaces. Note that the header header information in the post interface should be an empty line with the body object of the post below, then the above type and token are variables, just wrap them in double braces, support multiple interface calls, and use three # in the middle.Just separate the numbers, dynamic variables are named using @variable name
边栏推荐
- Graph Theory and Network Models - Based on R
- Why Move will overtake Solidity as the mainstream programming language?
- /usr/bin/ld: 找不到 -lLibUVC::UVCShared
- org.apache.ibatis.binding.BindingException
- Linux installation software command yum, apt-get
- 【Tic Tac Toe Chess】
- Exploration and practice of Redis fixed-length queue
- Routing, network, Internet, Internet, public network private network IP, NAT technology
- 2022 Shandong Province Safety Officer C Certificate Exam Practice Questions and Mock Exam
- RestTemplate
猜你喜欢

FPGA开发第四弹:触摸按键控制LED灯实验

The second bullet of FPGA development: running water lamp experiment

pip3升级后报错f“pip[sys.version_info.major)“

Actionformer: Localizing moments of actions with transformers 论文阅读笔记

31. Understand what is avalanche, penetration and breakdown of redis?What happens after redis crashes?What are the countermeasures

好消息|Erda 加入中国开源社区 landscape

学神经网络需要什么基础,神经网络需要什么基础

电商数仓笔记1(数据仓库概念,项目需求及架构设计,数据生成模块)

5 Crypto Themes Poised to Lead the Next Bull Market

VoLTE Basic Self-Learning Series | What are transparent data and non-transparent data in VoLTE?
随机推荐
C学生数据库_将链表保存进数据库
Shell编程之循环语句
Are there MCUs with 5nm process technology?
Error f "pip[sys.version_info.major)" is reported after pip3 upgrade
Model fine-tuning transfer learning Finetune method Daquan
VoLTE Basic Self-Learning Series | Which scenarios will trigger CSFB on VoLTE terminals?
接口的安全设计要素:ticket,签名,时间戳
/usr/bin/ld: 找不到 -lLibUVC::UVCShared
31. Understand what is avalanche, penetration and breakdown of redis?What happens after redis crashes?What are the countermeasures
Sort---Insertion sort
同态加密:分圆多项式简介
Actionformer: Localizing moments of actions with transformers 论文阅读笔记
Top 20 most popular plugins for QGIS
VoLTE Basic Self-Learning Series | What is Forking in SIP and IMS
传输层(UDP协议,TCP协议三次握手、四次挥手)
LeetCode刷题笔记:1403.非递增顺序的最小子序列
jenkins配置自动打包
VoLTE basic self-study series | VoWIFI architecture diagram
好消息|Erda 加入中国开源社区 landscape
0-1背包问题