Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2179 Lượt xem

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?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 21
1572
2
thg 12 23
24340
0
thg 1 19
5805
0
thg 5 18
4350
0
thg 1 17
4712