I am attempting to make an authenticated GET request with the httr package that retrieves a presigned URL to file sitting in Amazon S3. However, I am getting a 400 response with the following error:
"Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified".
I can make the same request in Postman and successfully retrieve my file. Seems like I need to drop my authorization headers on the redirect that is happening.
Anybody know if this is this possible with httr?