Tohid Makari
Tohid Makari

Reputation: 2494

How to customize response error message in wso2 api manager 3.2.0?

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

Answers (1)

Hisan Hunais
Hisan Hunais

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

Related Questions