Visualize PDF on Postman v8.4.0

¿How to visualize a pdf from response on postman v8.4.0?

Hello everybody, Today My postman was updated, and it says:
image

If you try to visualize a pdf using a template with an iframe, you will get an error like this:

A CSP policy doesn’t allow to visualize.

I know there are questions before about that. But I open this because POSTMAN offers it as a new functionality (first image).

So, do you know what is the new functionality postman offers?

Others questions:

Thank for your help!!

1 Like

Hi @amduffos.axacolpatri,

Welcome to the community! :clap:

So If you notice in that update, it doesn’t say that you can use PDFs in Postman Visualizer. Rather, it says you can views PDFs in Postman Responses.

So, for example, if you have a pdf file on a web server, you can create a request, say to http://mywesbservername.com/folder/somefile.pdf

And your response section will automatically display the PDF. However, it wont be displayed in Visualizer in an HTML form.

If you want to view PDFs in Visualizer, and are willing to tinker a bit, you can follow my video here:

Hope this clears things up!

Best,
Orest

1 Like