Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4579 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
feb. 23
3756
3
jul. 20
13454
3
jun. 17
15465
0
mar. 15
5027
1
maj 25
3898