Reputation: 2494
How can I change wso2 api manager 3.2.0 response error message from xml to json?And also how can I customize errors?
Upvotes: 0
Views: 370
Reputation: 338
This document provides details on how to customize error messages.
You can change the response error message format from xml
to json
by changing the messageType
property from application/xml
to application/json
in the xml file
Upvotes: 1