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

I have an API in which I'm getting api_key from headers. This is what I'm doing,

request.httprequest.headers['api_key']  , It works fine on my local but when I'm doing  the same thing on odoo sh then it won't get api_key from headers. I debugged and found that there's no api_key present in headers. Why it is happening? Im using Odoo sh version 16.

I have found that this guy is facing the same error:

"www.odoo.com/forum/help-1/odoo-sh-does-not-receive-request-headers-220676"  


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 22
3044
0
thg 4 24
3013
0
thg 5 15
4126
0
thg 9 23
2550
1
thg 5 23
2771