Ask a Question
Back to All

application/pdf API response content-type

We have an API which responses with PDF binary data using content-type application/pdf and content-disposition: inline;

readme.io is displaying the resulting binary as text within the response panel.

How do we improve this behaviour to either displaying the PDF inline in the response panel (like Postman or Insomnia would) or triggering a browser file download?