'In WSO2 APIM Publisher getting error html response with 200 OK status

I am getting error html response when using wso2 publisher hostname to get an Api value but with original endpoint it returning correct response. https://wso2apim-publisher-route-wso2-deploy.apps.cloud.admcoecloud.local:443/customer/2/api/customers/test/hello![This is when tried from WSO2](https://i.stack.imgur.com/yz21J.jpg)

http://customerinfo-javapipeline-dev-apps.apps.cloud.admcoecloud.local/api/customers/test/hello I am getting correct response. This is when tried from backend API

I imported the swagger file in API publisher and I was expecting to get correct response.

I checked in Postman response for this API with WSo2 302 response is coming. Postman console response



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source