How to restrict the webservice to only JSON. I dont want any other formats to use for accessing the webservice after configuring in Layer7 API Gateway.
Kindly suggest me to do this.
There are several ways to do this either by validating the content-type header using the comparison assertion and checking request.content-type context variable is set to application/json , or use the Validate JSON schema assertion to ensure that the request is properly formed JSON.
CA TechnologiesDirector, CA Support
Retrieving data ...