当前位置:网站首页>Postman interface test V
Postman interface test V
2022-07-07 10:09:00 【Splendid Qianyang 813】
Catalog
Published API The document supports automatic update
Function interface
many Tab Pagination
Postman Support more tab page , Before this comparison, some API Debugging tools don't support multiple Tab page , such as Advanced Rest Client
many tab The benefits of :
Convenient in a tab Medium test , After getting the result , Copy and paste to another tab in , Continue testing other interfaces
Better than that tab1 in , After testing the interface for obtaining verification code , Copy the phone number and verification code , Paste the tab2 in , Continue to test the registered interface
Interface view mode
Postman By default Request and Response Up and down layout :
Click here in the lower right corner Two pane view
, It becomes left and right :
[info] The purpose of the left and right layout
For the amount of data , When you want to see the requested and returned data at the same time , It should be more useful .
Multicolor theme
Posman Support two themes :
Dark theme
The current theme is dark , Very good results :
Light color theme
You can switch to Light color theme :
API Document generation
After the developers in the background of the server have tested the interface , I intend to send all kinds of information about the interface to the user API When the front-end mobile terminal personnel , Often meet :
Or copy and paste -> The format is not friendly Or use Postman Middle shot -> Easy to see , But it's not easy to get API Interface, field and other text content Or use Postman Export to JSON -> json The information in the file is too complicated , Information that is not conducive to finding Or use documents , For example, write Markdown file -> But then API Changes to the need for real-time synchronization to modify the document , It can be troublesome This will cause others to view and use API It's very inconvenient when I'm at work .
-> Regarding this ,Postman Provides a release API
Preview and publish API file Let's introduce Postman How to preview and publish API file .
Briefly outline the steps
Collection
Move the mouse to a Collection, Click on Three points
Publish Docs
Publish
obtain Public URL
Someone else opens this Public URL, You can view it API file
preview API file
Click the greater than sign on the right of the group >
If it's just a preview , For example, the background developers can check it by themselves API Document , You can choose :View in web
Equivalent to clicking Publish Docs To publish :
View in Web after , Yes Publish The option to ( See the following screenshot )
View in Web after , The preview page opens :
such as :
Cow cloud
https://documenter.getpostman.com/collection/view/669382-42273840-6237-dbae-5455-26b16f45e2b9
And the example code on the right , You can also choose from the default cURL Change to something else :
Release API file
If you want to make this document visible to others , The click Publish:
Then it will open an address like this :
Postman Documenter
https://documenter.getpostman.com/collection/publish?meta=Y29sbGVjdGlvbl9pZD00MjI3Mzg0MC02MjM3LWRiYWUtNTQ1NS0yNmIxNmY0NWUyYjkmb3duZXI9NjY5MzgyJmNvbGxlY3Rpb25fbmFtZT0lRTUlQTUlQjYlRTclODklOUIlRTQlQkElOTE=
Click on Publish after , The corresponding public web address can be generated :
open API Interface document address :
https://documenter.getpostman.com/view/669382/collection/77fd4RM
You can see ( The same effect as the previous preview API Document. ):
such , Others can view the corresponding API Interface document .
Published API The document supports automatic update
Follow up if your own API After interface modification :
such as :
( It turned out , No need to enter the process of preview and release , To update the document , It is Postman Automatic support )
Someone else to refresh the page of the document :
https://documenter.getpostman.com/view/669382/collection/77fd4RM
You can see the updated content :
边栏推荐
- C# 初始化程序时查看初始化到哪里了示例
- In addition to the objective reasons for overtime, what else is worth thinking about?
- Natapp intranet penetration
- Please ask me a question. I started a synchronization task with SQL client. From Mysql to ADB, the historical data has been synchronized normally
- 反卷积通俗详细解析与nn.ConvTranspose2d重要参数解释
- Three years after graduation
- 有没有大佬帮忙看看这个报错,有啥排查思路,oracle cdc 2.2.1 flink 1.14.4
- ORM--查询类型,关联查询
- Postman tutorial - scripting
- ES类和对象、原型
猜你喜欢
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
ORM模型--关联字段,抽象模型类
ES6中的原型对象
Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
Enterprise practice | construction of banking operation and maintenance index system under complex business relations
STM32基础知识—内存映射
ES类和对象、原型
Internship log - day04
ISP、IAP、ICP、JTAG、SWD的编程特点
Some thoughts on the testing work in the process of R & D
随机推荐
Analyze Android event distribution mechanism according to popular interview questions (II) -- event conflict analysis and handling
The physical meaning of imaginary number J
基础篇:带你从头到尾玩转注解
Gauss elimination
Huffman encoded compressed file
Future development blueprint of agriculture and animal husbandry -- vertical agriculture + artificial meat
网上可以开炒股账户吗安全吗
Why does the starting service report an error when installing MySQL? (operating system Windows)
Gym - 102219j kitchen plates (violent or topological sequence)
Google colab loads Google drive (Google drive is used in Google colab)
2020CCPC威海 J - Steins;Game (sg函数、线性基)
Bean operation domain and life cycle
高数_第1章空间解析几何与向量代数_向量的数量积
小程序滑动、点击切换简洁UI
终于可以一行代码也不用改了!ShardingSphere 原生驱动问世
Postman tutorial - scripting
Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
Main (argc, *argv[]) details
request对象对请求体,请求头参数的解析
为什么安装mysql时starting service报错?(操作系统-windows)