Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
6656 Visualizzazioni

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
Abbandona
Risposta migliore
@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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
gen 23
6914
1
mar 22
5019
1
feb 22
5175
1
lug 20
9046
2
gen 16
16550