Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4395 Vizualizări

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? 


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
feb. 23
3544
3
iul. 20
13205
3
iun. 17
15245
0
mar. 15
4784
1
mai 25
3493