Api Test - automatically add the cookie to postman

Use postman to debug interface will be buc-sso-csrf such as interception, so you need to add one by one cookie, but there are cookie expiration time, so this introduction on how to use plug-in interface to automatically obtain cookie api test

First, install PostMan

chroma app
https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en

mac app
https://www.getpostman.com/downloads/

Second, the installation Postman Interceptor

https://chrome.google.com/webstore/detail/postman-interceptor/aicmkgpgakddgnaphhhpliifpcfhicfo

Third, the installation Interceptor Bridge

https://learning.getpostman.com/docs/postman/sending_api_requests/interceptor_extension/#installing-the-interceptor-bridge

Enter the URL in the target domain in

Fifth, to access the target site on Chrome

Mainly using the bridge to make cookie postman and chrome were bridged in order to achieve the ability to interface with cookie access

Sixth, the test Api in Postman

December 11, 2019 14:47:28
Luo Yu
http://www.js-dev.cn

Guess you like

Origin www.cnblogs.com/ae6623/p/12022499.html