SDET Unicorns

Postman File Upload (Image & Video)

Table of Content

In this post, I will cover how to do file upload using Postman for both image and video. Postman makes it really easy to do file uploads with the help of form-data. Let’s take a look at that –

For this post, I will be using Imgur API (you are free to use any API that supports file upload). So here are the following things we need to successfully upload the file using Postman –

  • API: https://api.imgur.com/3/upload
  • HTTP Method: POST
  • Authentication: depending on the API
  • Body: form-data

Check out the video below to learn how to upload file using Postman:


  • As part of form-data, you will need to provide the necessary key-value
  • For key, change it from text to file and you will see ‘Select Files’ as a value
Screen Shot 2022 05 14 at 7.22.05 PM
Postman Select File
  • Upload the file by clicking on ‘Select Files’
Screen Shot 2022 05 14 at 7.20.41 PM
Imgur API File Upload

Once the file is upload, simply hit ‘Send’ and you should see a successful response (2xx).

Screen Shot 2022 05 14 at 7.24.27 PM
File Upload Response

Video Upload

Similarly, you can upload a video or any other file type as well, if the API supports it.

Screen Shot 2022 05 14 at 7.25.15 PM
Video Upload using Postman

That’s all there is in terms of file upload using Postman. As I said, Postman makes it really easy and straightforward to upload file.


If you are interested in learning more about Postman, check out this Postman playlist

My Resources

Thrive Suite: The all-in-one WordPress theme I used to create my blog.
Jasper AI: My favorite AI writing tool.
Surfer SEO:  A tool to help you rank your content on the first page of Google.

Write Content Faster

5/5

Write blog posts that rank for affiliate terms!

Join our mailing list

Unlock the Secrets to Becoming a SDET Pro in the Industry!

Stay ahead of the curve! Join our mailing list for exclusive insights, tips, and the latest industry updates delivered straight to your inbox

Table of Content

Related Post

7 Principles of Software Testing

7 Principles of Software Testing with Examples

Software testing plays a crucial role in the software development life cycle as it helps ensure the quality, reliability, and performance of the final product. Software testing is not just about finding defects; it also provides valuable insights into the overall quality of the software. By conducting effective software testing, it shows how well the application behaves in different scenarios and whether it meets user expectations.

Read More »
Differences Between CI/CD and DevOps

Key Differences Between CI/CD and DevOps

Software development is far from a simple journey that involves merely executing code and launching applications. It often presents challenges, as it’s rare to get everything right from the start. Each time you implement new or frequent code changes, you inadvertently introduce potential issues that can be time-consuming to resolve. This complexity necessitates a structured approach to ensure smooth production.

Read More »