API Management does not return fully formatted HTML with all tags

Vikhyath Shetty 45 Reputation points
2024-02-08T18:13:40.43+00:00

I am using Azure API Management Service and I have a backend service that returns HTML content in response to the URL being invoked with Query String parameters. I have tried retrieving the HTML through the API Gateway and I do receive the HTML content, but with loss in formatting. I have verified accessing the page directly and I am able to see a well formatted HTML page.

I have a couple of questions here:

  1. Does Azure API GW HTML content types along with JSON, XML, text etc? If so, what can I do to retrieve the fully formatted HTML response?
  2. Is API GW the right fit in this scenario? Do I have to look at other services to secure my backend?
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.