ELEVATE-Project / sl-backend-automation

Repo for Test Automation Scripts for Microservices
0 stars 0 forks source link

Sample CSV upload at org level for SM Utility #5

Closed infa-rvarahag closed 3 months ago

infa-rvarahag commented 3 months ago

Generate a Signed URL: Use the getSignedUrl endpoint to generate a signed URL. Note down the filePath from the response. Access the Signed URL: Click on the link provided in the response. This will open a new tab. Configure Postman: In Postman, add a new key-value pair in the headers: Key: Content-Type Value: multipart/form-data Change the request method from GET to PUT. Set the body to binary and select the file you want to upload. Send the request. You will receive an empty response. Upload Sample CSV: Use the filePath you noted from the first API response in the "file_path" body of the upload sample CSV API.