当前位置:网站首页>The idea version of postman has been released, and its functions are really powerful
The idea version of postman has been released, and its functions are really powerful
2022-07-20 23:58:00 【Trouvailless】
IDEA Is the most commonly used development tool , Many programmers want to build it into a one-stop development platform , So all kinds of plug-ins are installed . Recently found a IDEA plug-in unit
RestfulFastRequest
, The details are really good , Say it is IDEA Version of Postman Too much , I recommend it to you !
RestfulFastRequest brief introduction
RestfulFastRequest
Claims to be IDEA Version of Postman. It's a powerful Restful API Toolkit plug-ins , It can quickly generate interface debugging cases according to the existing methods . It has a beautiful interface to complete the request 、 Check the server response 、 Store your API Request and export API request , The plug-in can help you in IDEA Debug faster and more efficiently in API!
Here's how to use RestfulFastRequest
debugging mall project API A rendering of the interface , It's very convenient to use !
install
First let's install
RestfulFastRequest
plug-in unit .
- We can open it IDEA Search for the plug-in market
RestfulFastRequest
, It looks like a paid plug-in , A closer look at the plug-in description shows that , It has a free version , It seems that the author is still more conscientious !
- Click on
Free version
You can directly download the plug-in installation package by connecting , Download address :github.com/dromara/fas…
- When the download is complete , Just choose to install the plug-in from the local disk .
Use
Next, let's use
RestfulFastRequest
plug-in unit , See if it matches Postman As easy to use !
Create projects and environments
- Click on IDEA On the right side of the
FastRequest
Button to open the plug-in panel , You need to configure the project name and environment name for the first time ;
- Click on
Configuration management
Button to configure , Configure the project name , And the name of the environment , It's equipped withdev
andprod
The access addresses of the two environments ;
- After selecting the project name and environment, you can start debugging API The interface .
debugging API Interface
- Click... On the left side of the interface
Little rocket
Button can directly generate the information required to call the interface , After modifying the parameters, you can directly call ;
- Click on
A small plane
Button send request , Can receive formatted JSON data .
Quick add Header
- Have studied my mall project Our friends should know , Many interfaces in the project can only be accessed after successful login , For example, this interface for obtaining user list ;
- I can quickly add authentication headers by selecting the return information ;
- modify Header The name is
Authorization
, And give token add toBearer
The prefix is enough ;
- Next, you can access the interface that needs login authentication normally .
JSON Syntax check
- It is worth mentioning that the plug-in is for JSON Your support is still very good , Not only does it support highlighting , It also supports folding ;
- Pass in JSON You can also be prompted when the parameter format is incorrect .
CURL Copy
If you want to use CURL Tools , It can also be done through CURL Button copy command .
API list
When we debug the interface , You can use the Save button , Keep the interface and debugging information to API Go to the list .
API Navigation
stay API All interfaces can be viewed in the navigation , The first time you need to click the refresh button to load .
Reverse positioning API Code
Double click the interface information to directly locate the code , It is convenient to find the code through the interface !
API Search for
adopt Search for
The button can be used for API Search for .
Export to Postman
- If you still want to use Postman Words , You can go directly through
Export to Postman
Function to export interface information directly ;
- After exporting successfully , And then Postman Import JSON The configuration file can be used ;
- After successful import, the display effect is as follows , However, you can only export saved API, You cannot export all directly API.
summary
Today I experienced a RestfulFastRequest
This plugin , The experience is really good , The interface used by developers to debug is basically enough ! In particular, it can directly generate debugging information according to the interface code , And can directly locate the code according to the interface , It does improve the efficiency of developers !
边栏推荐
猜你喜欢
MySQL表的增删查改(二)
Flink的四大基石
postgetsql设置id自增主键
商业智能BI分析思维:生产制造行业的资金管理
[Yugong series] July 2022 go teaching course 013 constant, pointer
重新认识生命世界,也重新认识我们自己
These super easy-to-use browser plug-ins are unknown to many people
深度参与 openGauss Developer Day 2022,云和恩墨在多项活动中展风采
Rust Development -- the concept and application example of trait
MySQL 19: database and table splitting practice
随机推荐
Introduction to open source tools SAP ui5 tools
Rust Development -- the concept and application example of trait
These super easy-to-use browser plug-ins are unknown to many people
我的创作纪念日
洛谷P4305 不重复数字
接口自动化测试---单接口自动化测试与业务场景自动化测试之间的区别?
The savefig of Matplotlib must be before show
Helm 介绍
Which platform is the best and safest to buy stocks on?
惊!储户近200万存款被“刷脸”盗走,快看看你的银行卡有这三类风险吗?
hashCode和equals作用
JS intercept string (3 methods)
.NET 设置Socket 对象的“TFO”快速打开连接选项(跨平台兼容的)
Revit(21)Document-常见的API封装
Wechat and QQ can access the Internet normally, but there are three solutions for web pages not to access the Internet.
Bubble sort
创未来,享非凡,openGauss Developer Day 2022圆满举行
nextTick那些事儿
完美融入云原生的无代码平台 iVX编辑器实战
Kubernetes — client-go组件