Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4687 Tampilan

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? 


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Feb 23
3885
3
Jul 20
13599
3
Jun 17
15582
0
Mar 15
5115
1
Mei 25
4096