コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
7157 ビュー

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
1月 23
7762
1
3月 22
5570
1
2月 22
5690
1
7月 20
9466
2
1月 16
17002