![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
• If the HTTP header of the incoming request message does not contain the Content-Type, TIBCO API Exchange Gateway sets the content type of the error response using the tibco.clientVar.ASG/Response/DefaultContentType property. The property is set in the ASG_CONFIG_HOME/asg.properties file. See tibco.clientVar.ASG/Response/DefaultContentType.
If the tibco.clientVar.ASG/Response/DefaultContentType property is not set, TIBCO API Exchange Gateway sets the Content-Type of the error response message to application/json.
1. Navigate to the ASG_CONFIG_HOME directory.
• If the tibco.clientVar.ASG/Response/DefaultContentType property is set to application/xml or text/xml, the error response is returned in xml format to the requestor.
• If the tibco.clientVar.ASG/Response/DefaultContentType property is set to application/xml or text/xml, the error response is returned in json format to the requestor.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |