Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4435 Переглядів

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? 


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
Controller not working Вирішено
2
лют. 23
3559
3
лип. 20
13221
3
черв. 17
15259
0
бер. 15
4803
1
трав. 25
3508