Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6970 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź
@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
Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
sty 23
7505
1
mar 22
5372
1
lut 22
5525
1
lip 20
9338
2
sty 16
16852