i have a request where i have to send a file from a folder.
It works but i want to rename the file name by adding timestamp.
Is it possible to do it with postman?
You might need to expand on this details here as it’s a little difficult to know what you’re trying to do.
Would you be able to provide an example please?
Ok i have a request with POST method,
In the body of the request there is a parameter to upload a file.
So i want to know if it"s possible to rename the file before uploading in the request.
i tried this in Pre-request Script
var fso= new ActiveXobject(“Scripting.FileSystemObject”)
ActiveXObject is not defined