add cookie in postman
I encountered a problem when using postman for interface testing. The current operation requires a user to log in, so the sessionID is required in the postman request (our platform is the added sessionID)
There are two steps to resolve: find the sessionID, and add the sessionID to the request.
1. Find the sessionID
Log in to the system in Firefox, press F12, find sessionID, and copy it
2. Add sessionID to the request
I have always been confused about this problem, so Baidu and Bing have no solution, so I went to the official website, and finally saw the cookie section https://www.getpostman.com/docs/postman/sending_api_requests/cookies
The operation is as follows: there is a cookie under the request, click
Open the page and click add
Enter the copied sessionID at the value.
Click send, the request is successful.