跳至内容
菜单
此问题已终结
4062 查看

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? 


形象
丢弃
相关帖文 回复 查看 活动
2
2月 23
2939
3
7月 20
12631
3
6月 17
14574
0
3月 15
4158
1
5月 25
2740