Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4685 Widoki

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? 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 23
3878
3
lip 20
13598
3
cze 17
15579
0
mar 15
5110
1
maj 25
4095