How to give variable and path while uploading file in postman?

How to give variable and path while uploading file to postman? I want to upload a file automatically so that i can give path and also variable name so it will automatically detect that file and upload directly.

Edit JSON file of the collection and replace the file path with a Postman variable.

2 Likes

Thanks a lot
It works

How do you edit the JSON file of the collection? Iā€™m lost as to where to find this in Postman.

1 Like