loading...
Cover image for Test UploadFile functionality using postman.

Test UploadFile functionality using postman.

143umohsinkhan profile image Mohsin Khan ・1 min read

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 :)

Discussion

pic
Editor guide