I am testing to store cookie for an api using express to postman native app.
I found Set-cookie in header is correctly set from a post request.
cookie=cookieValue; Path=/; Expires=Tue, 26 Jan 2021 17:27:40 GMT; HttpOnly
however could not store cookie to the browser.
I have tried to set domain as localhost
, 127.0.0.1
, localhost:4000
, 127.0.01:4000
.
I have installed interceptor chrome extension and it captured caches on github.com.
So I am thinking the cookie is not being saved due to my api is from localhost.
If you have any idea for storing cookie from localhost server on postman please let me know.
question from:
https://stackoverflow.com/questions/65889801/postman-native-app-does-not-being-saved-cookie-even-through-set-cookie-header-is 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…