DEV Community

Cover image for Test UploadFile functionality using postman.
Mohsin Khan
Mohsin Khan

Posted on

Test UploadFile functionality using postman.

While developing APIs and integrating with its a consumer then sometimes it is really necessary to make sure end-to-end works correctly.
Though it is also true when you have different teams to manage Consumer and Producer of your APIs then how you will make sure quickly that your API is working as expected.
For Uploading file sometimes it is tricky to test, here in this post I will share one quick tip that helps to verify this behavior.
We can use Postman and follow the request type as mention in image choose -> Body-> form-data-> change field type to File, this will allow you to upload a file through postman and it works exactly the sameΒ :)

Top comments (0)