Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4421 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 23
3558
3
čvc 20
13214
3
čvn 17
15255
0
bře 15
4798
1
kvě 25
3506