Odoo is having capability to handle only one request type from the controller(json or http).
The scenario is third party api is calling the odoo controller wiht HTTP request to verify the URL(odoo controller route). But after verify that URL that third party api is POST some data to that same URL(odoo controller route) with JSON request.
So I want to handle the HTTP and JSON request with the same controller.
Please guide me to solve this.
Thanks !