How to support content type application/abc or other content type in APIM gateway.
search cancel

How to support content type application/abc or other content type in APIM gateway.

book

Article ID: 72268

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When the content type of response from the backend service is application/abc, the following context variables are null: 
${response.mainpart}
${response.parts.1.body}

This is because the content type application/abc is not recognized by the gateway by default, therefore, the gateway cannot parse the response.



Environment

All supported versions of the API Gateway

Resolution

From the Policy Manager, go to Tasks -> Global Settings -> Manage Cluster-Wide Properties -> Add or Edit cluster-wide property contentType.otherTextualTypes -> input the value as application/abc
 

Additional Information

REF: https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-1/reference/gateway-cluster-properties/miscellaneous-cluster-properties.html