当前位置:网站首页>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!
边栏推荐
- Mutual conversion of float type data and datetime type data in sqlserver2008
- About the swoole coroutine container
- Common methods of object class
- Linking MySQL database with visual studio2015 under win10
- 猕猴桃酵素的功效_过路老熊_新浪博客
- 给定参数n,从1到n会有n个整数1,2,3,...,n,这n个数组共有n!种排列,按照大小顺序升序排列出所有列的情况,并一一标记,给定n和k,返回第k个值
- Joint simulation of STEP7 and WinCC_ Old bear passing by_ Sina blog
- Talk about how to hot restart a spoole or PHP cli process
- 在win10下使用visual studio2015链接mysql数据库
- DPVS-FullNAT模式keepalived篇
猜你喜欢

7.常用指令(下)v-on,v-bind,v-model的常见操作

6.常用指令(上)v-cloak,v-once,v-pre

利用VBScript连接mysql数据库_过路老熊_新浪博客

【微信公众号H5】 生成带参数进入公众号关注页的二维码 监听用户关注公众号事件 自定义菜单栏 (服务端)

今天说说String相关知识点

在win10下使用visual studio2015链接mysql数据库

文献调研(四):基于case-based reasoning、ANN、PCA的建筑小时用电量预测

《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)

Circuit de fabrication manuelle d'un port série de niveau USB à TTL pour PL - 2303hx Old bear passing Sina blog

js实现输入开始时间和结束时间,输出其中包含多少个季,并且把对应年月打印出来
随机推荐
两种块级元素居中的方式
PHP interprocess pass file descriptor
如何进行流程创新,以最经济的方式提升产品体验?
ValueError: color kwarg must have one color per data set. 9 data sets and 1 colors were provided解决
sqlServer2008中float类型数据与datetime类型数据互转
huibian
详细讲解局部变量、全局变量、静态变量三种类型
php进程间传递文件描述符
说说单例模式!
手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客
Understanding of pseudo classes
mysql5.7版本在配置文件my.ini[mysqld]加上skip-grant-tables后无法启动
SSL/TLS、对称加密和非对称加密和TLSv1.3
树莓派开机发送热点进行远程登录
剑指 Offer 48. 最长不含重复字符的子字符串
Transformation of communication protocol between Siemens S7-200PLC and Danfoss inverter_ Old bear passing by_ Sina blog
博图软件中多重背景块的建立_过路老熊_新浪博客
Circuit de fabrication manuelle d'un port série de niveau USB à TTL pour PL - 2303hx Old bear passing Sina blog
用frp搭建云电脑
Mutual conversion of float type data and datetime type data in sqlserver2008