跳至內容
選單
此問題已被標幟
4407 瀏覽次數

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
3547
3
7月 20
13208
3
6月 17
15247
0
3月 15
4789
1
5月 25
3494