Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4424 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
feb 23
3558
3
lug 20
13214
3
giu 17
15256
0
mar 15
4799
1
mag 25
3506