当前位置:网站首页>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 :
边栏推荐
猜你喜欢
EXT2 file system
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作
ES6中的原型对象
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
使用BigDecimal的坑
ORM模型--数据记录的创建操作,查询操作
内存==c语言1
小程序实现页面多级来回切换支持滑动和点击操作
Basic chapter: take you through notes
Bean operation domain and life cycle
随机推荐
C# XML的应用
Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
Integer inversion
Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
Scratch crawler mysql, Django, etc
STM32中AHB总线_APB2总线_APB1总线这些是什么
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
Please ask me a question. I started a synchronization task with SQL client. From Mysql to ADB, the historical data has been synchronized normally
Flex flexible layout
ISP、IAP、ICP、JTAG、SWD的编程特点
Introduction to uboot
Guys, have you ever encountered the case of losing data when Flink CDC reads mysqlbinlog? Every time the task restarts, there is a probability of losing data
Introduction to automated testing framework
The landing practice of ByteDance kitex in SEMA e-commerce scene
Finally, there is no need to change a line of code! Shardingsphere native driver comes out
Writing file types generated by C language
Before joining the chain home, I made a competitive product analysis for myself
[Frida practice] "one line" code teaches you to obtain all Lua scripts in wegame platform
Bit operation ==c language 2
Pit using BigDecimal