コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4441 ビュー

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
3561
3
7月 20
13233
3
6月 17
15262
0
3月 15
4808
1
5月 25
3514