Skip to Content
Menu
This question has been flagged
3229 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
Feb 23
1692
3
Jul 20
11247
3
Jun 17
13360
0
Mar 15
3358
1
Oct 24
821