Forum Discussion

subra7978's avatar
Occasional Contributor
8 years ago

using AWS presigned URL in HTTP requests

I get a presigned URL for AWS "putObject" from the server, which I use to upload files to S3. How can I use the URL I get from the sever in a HTTP request test case to automate uploading the file. I tried to save the URL in a property and used the property as the endpoint in the HTTP request, but an error does not accept the property and says "Missing endpoint for request". The only way the HTTP request uploads the file is if I paste the URL endpoint as string and I extract all the QUERY parameters. How can I parse the URL, extract the parameters and make the HTTP request. Thanks. 

2 Replies