当前位置:网站首页>Postman interface test VI
Postman interface test VI
2022-07-07 10:09:00 【Splendid Qianyang 813】
Catalog
Postman Request automatic acquisition token
Reference material
Main reference :Github: api_tool_postman
Manage environments
postman- Variable / Environmental Science / Filtration, etc. - Simple books
Postman User manual 3—— environment variable - Simple books
postman Use four : Switch environment and set read variables - Qiaoye - Blog Garden
Postman Request automatic acquisition token
Add an environment
Manage Environments( The gear in the upper right corner ) => Add => Fill in the name of the environment => Add
1
Add login interface
# More settings than normal requests "Tests"
# Return the login interface response Medium token Add environment variables , Such as :
pm.environment.set("token", JSON.parse(responseBody).data.authorization);
1
2
3
Add a collection
1. New collection ( left Catalog )
2. Fill in the name , Such as :" need token Request "
3. Switch to the tab "Authorization"
4. Choose the appropriate TYPE
5. Token Fill in {
{token}}
6. Click on Create Create set
1
2
3
4
5
6
Add need token Request
The request added in the newly created collection , Headers Will be automatically added token, If token invalid , Just re request the login interface
边栏推荐
- flink. CDC sqlserver. You can write the DEM without connector in sqlserver again
- ORM -- query type, association query
- CDZSC_ 2022 winter vacation personal training match level 21 (1)
- Introduction to energy Router: Architecture and functions for energy Internet
- phpcms实现PC网站接入微信Native支付
- Some thoughts on the testing work in the process of R & D
- Mongodb creates an implicit database as an exercise
- Es classes and objects, prototypes
- Postman interface test II
- request对象对请求体,请求头参数的解析
猜你喜欢
Deconvolution popular detailed analysis and nn Convtranspose2d important parameter interpretation
Natapp intranet penetration
The request object parses the request body and request header parameters
Software modeling and analysis
一文讲解单片机、ARM、MUC、DSP、FPGA、嵌入式错综复杂的关系
A wave of open source notebooks is coming
Pit encountered by vs2015 under win7 (successful)
Google Colab装载Google Drive(Google Colab中使用Google Drive)
web3.0系列之分布式存储IPFS
The new activity of "the arrival of twelve constellations and goddesses" was launched
随机推荐
request对象对请求体,请求头参数的解析
位操作==c语言2
ORM model -- associated fields, abstract model classes
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作
EXT2 file system
Analyze Android event distribution mechanism according to popular interview questions (II) -- event conflict analysis and handling
The physical meaning of imaginary number J
Huffman encoded compressed file
Flex flexible layout
CDZSC_ 2022 winter vacation personal training match level 21 (2)
Postman interface test IV
Pit using BigDecimal
Postman interface test II
The request object parses the request body and request header parameters
A wave of open source notebooks is coming
视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」
[untitled]
The Himalaya web version will pop up after each pause. It is recommended to download the client solution
XML配置文件解析与建模
AI moves from perception to intelligent cognition