Iβd like to use a file from my PC in this script on Pre-Resquest.
pm.sendRequest({
url: `pm.collectionVariables.get("baseUrl")/Options/`,
method: 'PUT',
header: {
'content-type': 'application/json'
},
body: {
mode: 'formdata',
formdata: [{
key: "file",
value: FileHere
},]
}});
However, I donβt know if is possible and if is possible how to do it!
thanks in advance!