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

I'm trying to develop an external application to fetch data from Odoo8 database. I have Insomnia installed and I'm testing the connection by sending POST request much like over there (but with Insomnia instead of Postman):
https://www.surekhatech.com/blog/working-with-odoo-web-services

But I'm not getting typical xml response. Instead I'm getting a whole webpage with "404: Page not found" message.

What is wrong? Is this has to do with Odoo configuration and the API is blocked somewhow?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
@http.route(['/my/invoices', '/my/invoices/page/<int:page>'], type='http', auth="Public", website=True)
You can change type='post' like that you can access page in browser
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

xmlrpc protocol can't be reached throuh a browser, i'ts not a like a rest answer.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 23
7512
1
thg 3 22
5378
1
thg 2 22
5536
1
thg 7 20
9343
2
thg 1 16
16855