Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4599 Представления

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 Ответы Просмотры Активность
2
февр. 23
3764
3
июл. 20
13466
3
июн. 17
15473
0
мар. 15
5040
1
мая 25
3913