Environment :- Web Service - Rest APIs. Media Type - JSON. JAX RS implementation - Jersey. HTTP Methods - POST, GET, PUT & DELETE. WSO2 API Gateway Manager - To sit on top of it to publish these APIs.
Problem :- The delete operation has a request body(a json message) which has input values in it. When I hit the services directly - the whole operation performs successfully. But once I go through the API Manager (using the URL that it publishes) - the request body seems to be getting dropped/ignored & hence the operation fails. Rest all the operations are working fine & so is the OAuth too.
Can someone please help me - as to why is the the request body (a json message) is getting discarded when I go through the WSO2 API gateway manager - and what can I do to get it working, please !!
Thanks in advance.