Odoo Help

1 Answer
Nathan Mugnier
5/9/19, 10:41 AM

n the controllers decorator `@route` you define a type='http' and request with header "application/json".

Odoo dispatcher will create a JsonRequest Object and expect to receive a json object along with the request.

Change header's 'content-type' to 'message/http' and it should be fine.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now