How to Upload, Download, and Preview Files (PDFs) with Postman

preview_player
Показать описание
Welcome back to another episode of Advanced Postman!

In this video, we cover how to upload, download, and visualize files with Postman and Visualizer!

00:00 Introduction
00:26 Upload File
02:26 Download File
04:34 Visualize File
06:20 Content Security Policy Explanation

Use the File Processing Collection Template below and follow along!

File Processing Postman Template:

Content Security Policy Guide (Mozilla)
Рекомендации по теме
Комментарии
Автор

What files would you use with Postman Visualizer?

DevOdyssey
Автор

Hi, thank you for the video; excellent job! I've followed your steps for data visualization as well as for download. However, I still need help to see the pdf file. I've tried firefox and chrome - the scroll appears in the visualization part, but the file is never shown. Is there some "trick" I might be missing? The pdf file I am requesting is from an online API shop

zaduszka
Автор

Excellent video, but i have a question, what's happens if i want to download a series of documents (ej. in excel format) from an API? using the collection runner?

parsevaltheorem
Автор

Hi, how to automate the decode base64 code and save as a pdf in postman and download it to the desire location. Thanks in advance

azhagananthanpattabiramane
Автор

Hello I like this video, but I have a question, how can I get the full script that you use in the video my friend? thanks

gustavovalmana
Автор

hi great video! would it be possible to somehow modify your get file option here, to use with a mock server? So I am basically after the ability to call either a file/image via API from a 3rd party, and it pull through to enable download/live view. Within mock server you can generate a random image, but on a call this provides the URL to the image and not the image itself

andymartin
Автор

what if the service I'm trying to test actually returns the contents of the pdf file, not the base64 but the raw contents... ???

manusoftar
Автор

In postman under post request form-data what type of file or file format is supported by postman?

abhishektiwari
Автор

hey how can i solve the problem :--- when i am uploading a file it shows that "make sure postman can read file in the working directory

cvain
Автор

Hi! Is there a way you can share me the Visualizer code to render the pdf, excel, docx or txt. The link that you gave was not working anymore.

elliotmeneke
Автор

Hi how to change file directory in postman i have upload file not accept

kamalm
Автор

Hi Dev,
I am trying to upload pdf files from postman to Share Point, and the file is getting uploaded but the real problem come when i am opening the file. It is not getting opened with below error:
'We cannot open this file, something went wrong' along with this i am getting refresh message.

Could you please help me on this, it is very urgent?

lakshmikantmishra
Автор

Great video. . I am sending "get" a request where receive the PDF file. I need to write some test cases to check PDF is correct or not. As a workaround, I thought that I can automatically save the response (PDF) to the specific folder, after running collection and then check it manually from the folder but as noticed it is possible only through newman. Can you please advise an alternative way in postman?

namikmasimov
Автор

Great video, can you solve my problem " I uploaded bulk input as CSV file, I got the results but where can I download the results file" ?

revathi
Автор

Great vídeo, how can I set the response variable into set command to download the file? Something like ?

JulianLuis