Response type override

I’m currently dealing with a poorly implemented RESTful API that returns a JSON response, but the Content-Type header is always text/html. This means that selecting the Pretty formatting in the response panel will try and make it pretty HTML, not JSON.

It would be SOOOOO incredibly fantastic if I could override the response type so that I can have the nice JSON formatting I get when the API is correctly implemented and returns application/json.

A simple solution may perhaps be in the response panel, you could add JSON next to Pretty and RAW to manually display the response as pretty JSON?

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Tags

Feature

Date

Over 1 year ago

Author

Jamie Carl

Subscribe to post

Get notified by email when there are changes.