I use wso2 API manager for publishing some of my APIs. But my issue is if someone send a API request with invalid json body, is it able to ignore that API call and give some error message to the requested person without sending that invalid json body to the back end. API manager version : 1.7
This is the incorrect json request (try to send without value for "moduleCode")
{ "event": { "portalType": "dfd", "moduleCode": , "role": "3", "roleCode": "dfdf", "languageID": "gd", "password": "dfdfgd", "phoneNumber": "2332323", "resourceCode": [ "8045005" ] }}
Could it possible to restrict user by value of role in the above json ? How to achieve this with API Manager 2.0 ?