Skip to Content
मेन्यू
This question has been flagged
4447 Views

I'm writing a controller and testing it using Postman.

The controller makes a login using a user credentials.

Every time, I find that Postman creates a cookie (containing the session_id) from the response.

The strange thing is that when I try to read the cookie from Odoo before returning the response (request.httprequest.cookies), I find it empty.
How can I read the cookie from Odoo as Postman does? 


Avatar
Discard
Related Posts Replies Views Activity
2
फ़र॰ 23
3564
3
जुल॰ 20
13241
3
जून 17
15265
0
मार्च 15
4809
1
मई 25
3521