Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6985 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 23
7516
1
มี.ค. 22
5382
1
ก.พ. 22
5538
1
ก.ค. 20
9348
2
ม.ค. 16
16856