I'm trying to upload a text file to an Amazon AWS S3 Bucket from a Roku SDK channel. I believe I have successfully written the code to generate the authorization signature (response now comes back as "true" instead of a "400" range error code from AWS).
I'm using the following code (with identifying info replaced with placeholder text):
Response comes back as true GetFailureReason is blank Msg is invalid
No file transfer is taking place, at least it's not showing up in the AWS S3 Bucket.
I need guidance on:
1. The Headers and PostFromString functions. Have constructed these correctly? 2. Is the Content-Type correct? 3. Is there a way to get a more verbose response from AWS on what's happening via a Response message?
Does anyone see anything obviously wrong in how I'm approaching this? Perhaps I'm missing a step?