postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 838 forks source link

Visualizer: support for rendering different file types #7744

Open JP-from-Postman opened 4 years ago

JP-from-Postman commented 4 years ago

Is your feature request related to a problem? Please describe. If an endpoint returns (for example) a PDF file as binary, there isn't a way to render it in Visualizer. This is due to the content-security-policy, which disallows rendering in frames.

Describe the solution you'd like Some means to render different file types (such as .PDF) in Visualizer.

Describe alternatives you've considered N/A

Additional context Add any other context or screenshots about the feature request here.

m4cm3nz commented 3 years ago

I would really appreciate pdf render for applications/pdf content-type. The same way browsers and other API tools do.