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

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
3550
3
июл. 20
13211
3
июн. 17
15251
0
мар. 15
4794
1
мая 25
3496