تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7055 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة
@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
الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يناير 23
7652
1
مارس 22
5477
1
فبراير 22
5625
1
يوليو 20
9415
2
يناير 16
16945