Skip to Content
Menu
This question has been flagged
4603 Rodiniai

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? 


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
vas. 23
3770
3
liep. 20
13474
3
birž. 17
15476
0
kov. 15
5045
1
geg. 25
3920