Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4422 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
fev. 23
3558
3
jul. 20
13214
3
jun. 17
15256
0
mar. 15
4799
1
mai. 25
3506