跳至內容
選單
此問題已被標幟
2180 瀏覽次數

How to manage session in odoo from angular to odoo.We are facing issue cors error when connecting odoo with angular.

Here is my code

http.route('/api/auth/login', methods=['OPTIONS','POST'], type='json', auth='none', csrf=False,cors='*')

def token(self, **post):

    print(self)

Added sample code here api working when adding cors * in backend.But session is empty.How to handle session here.Can anyone help us to resolve this?


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
6月 21
1574
2
12月 23
24340
0
1月 19
5805
0
5月 18
4351
0
1月 17
4712