Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4442 มุมมอง

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 ตอบกลับ มุมมอง กิจกรรม
Controller not working แก้ไขแล้ว
2
ก.พ. 23
3561
How to get model object from Controller แก้ไขแล้ว
3
ก.ค. 20
13233
3
มิ.ย. 17
15262
0
มี.ค. 15
4808
1
พ.ค. 25
3514