تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3676 أدوات العرض

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
فبراير 23
2326
3
يوليو 20
12066
3
يونيو 17
14015
0
مارس 15
3711
1
مايو 25
1948