Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4419 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
feb. 23
3555
3
jul. 20
13212
3
jun. 17
15252
0
mrt. 15
4797
1
mei 25
3500