Why doesn't Postman (chrome extension) support more traditional "Set-Cookie" header. I have tried sending cookies using "Set-Cookie" as key and "cookie_name=cookie_value" as value, but server did not get the cookie information.
I retried with "Cookie" as the key and it worked.
It looks like it supports "Cookie" header instead. Why "Cookie" and "Cookie 2" instead of more traditional "Set-Cookie"?
Usually a consumer (be it a browser or Postman) sends cookies to the server via the Cookie
header.
A server that wants to inform a consumer to set a cookie, will send it via the Set-Cookie
header.
Source: Cisco mentions this in one of their Q&A articles
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With