Skip to Content
Menú
This question has been flagged
4402 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
2
de febr. 23
3546
3
de jul. 20
13208
3
de juny 17
15246
0
de març 15
4787
1
de maig 25
3494