Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
488 stars 318 forks source link

Misformated HTTP response body in dev portal when trying out API #1936

Closed Radamonas closed 1 year ago

Radamonas commented 2 years ago

Bug description

Response JSON is not formatted as JSON, but as a single line string:

image

Reproduction steps

  1. Go to APIs
  2. Click on any API we have
  3. Select subscription and enter querying values
  4. Hit SEND
  5. Receive HTTP 200 response and misformatted response body

Expected behavior

A clear and concise description of what you expected to happen.

Is your portal managed or self-hosted?

Managed

Environment

Additional context

Previously HTTP section in DevPortal was parsing JSON without any issues. Similar issue was raised in StackOverflow

ghost commented 2 years ago

@Radamonas, thank you for opening this issue. We will triage it within the next few business days.

azaslonov commented 2 years ago

This issues has been fixed in #1929. Managed portals will receive the update some time next week.

ghost commented 2 years ago

@Radamonas, thank you for reporting the bug.

nuwan600 commented 2 years ago

getting same issue again

image

nuwan600 commented 2 years ago

plz have look @azaslonov

azaslonov commented 2 years ago

@nuwan600, the fix for this is being rolled out as we speak. It should be over in all regions by the end of the week.

nuwan600 commented 2 years ago

thankx..

Radamonas commented 1 year ago

This can be closed as it was resolved.