Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4396 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Feb. 23
3544
3
Juli 20
13206
3
Juni 17
15245
0
März 15
4785
1
Mai 25
3493