当前位置:网站首页>How postman tests interfaces that require login
How postman tests interfaces that require login
2022-06-26 00:00:00 【Hadoop_ Liang】
postman How to test the interface to be logged in
Two big steps : 1. obtain Cookie Medium JSESSIONID 2.postman Send an analog Cookie Authentication request
1. obtain Cookie Medium JSESSIONID
Write the interface --> Start project --> Log in with a browser --> Press F12( perhaps Ctrl+Shift+I)--> Click on Application Get Cookie Medium JSESSIONID

2. use postman Send an analog Cookie Authentication request
Before sending the request , Set up Headers
Cookie The value of is JSESSIONID

Reference resources :https://blog.csdn.net/qq_41570658/article/details/90671037
complete ,enjoy it!
边栏推荐
- JS中的数字数组去重
- PHP interprocess pass file descriptor
- Use Baidu map API to set an overlay (infowindow) in the map to customize the window content
- JS中常用知识点
- Record a simple question with ideas at the moment of brushing leetcode - Sword finger offer 09 Implementing queues with two stacks
- Raspberry pie sends hotspot for remote login
- Realize the conversion between analog quantity value and engineering quantity value in STEP7_ Old bear passing by_ Sina blog
- 猕猴桃酵素的功效_过路老熊_新浪博客
- 西门子S7-200PLC和丹佛斯变频器的通讯协议改造_过路老熊_新浪博客
- 6. common instructions (upper) v-cloak, v-once, v-pre
猜你喜欢
随机推荐
Talk about the copy on write mechanism of PHP variables or parameters
如何配置SQL Server 2008管理器_过路老熊_新浪博客
关于Swoole协程容器
我的博客今天2岁167天了,我领取了先锋博主徽章_过路老熊_新浪博客
[转载]RSLOGIX 5000实例教程
oracle写一个先插入一条数据,在将该数据中一个字段更新的触发器的坑
Raspberry pie sends hotspot for remote login
IDEA中如何生成get/set方法
STEP7主站与远程I/O组网_过路老熊_新浪博客
php socket通信中stream_select方法的理解
网络协议之:redis protocol详解
Problems encountered in Doris operation and maintenance
static关键字详解
猕猴桃酵素的功效_过路老熊_新浪博客
Realize the conversion between analog quantity value and engineering quantity value in STEP7_ Old bear passing by_ Sina blog
社交网络可视化第三方库igraph的安装
DPVS-FullNAT模式keepalived篇
使用百度地图API在地图中设置一个覆盖物(InfoWindow),可自定义窗口内容
常用的几款富文本编辑器
文献调研(二):基于短期能源预测的建筑节能性能定量评估

![搜索旋转数组II[抽象二分练习]](/img/db/3ea01cf1ad8446a7007891ef1d8e7f.png)




![Find the minimum value of flipped array [Abstract bisection]](/img/b9/1e0c6196e6dc51ae2c48f6c5e83289.png)


