콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7049 화면

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
7634
1
3월 22
5470
1
2월 22
5614
1
7월 20
9405
2
1월 16
16938