Hello, I am trying to create a route allowing "POST" requests on Odoo. The code I have so far is the following:
The request I am sending through Postman has Content-Type = application/json and the following body:
{
"id": "test"
}
How do i access the request's body's data on my controller?
try this: https://learnopenerp.blogspot.com/2018/08/odoo-web-controller.html