Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6969 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď
@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
Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
led 23
7497
1
bře 22
5369
1
úno 22
5521
1
čvc 20
9338
2
led 16
16850