Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Convert fault response from JSON to XML

Hi,

I have a scenario depending upon some parameter i have to send response as JSON or XML. for success response I no need to worry, but I getting problem for fault response. I have some faults on proxy request flow, configured some faults in proxy fault rules like invalid API key and target fault rules like timeout, service-unavailable.

Please suggest me how I can solve this problem.

0 3 389
3 REPLIES 3