Uploading FormData from Trigger.io Forge to Amazon S3
I am trying to upload an image file from my Trigger.io mobile app directly to Amazon S3 (see here: http://aws.amazon.com/articles/1434 ). I'm able to do this on the web without any problems using jQuery and the FormData API as follows: var fd = new FormData(); key = 'test.jpg' fd.append('key', key); fd.append('acl', 'public-read'); fd.append('Content-Type', file.type); fd.append('AWSAccessKeyId', key_id); fd.append('policy', policy_base64); fd.append('signature', signature); fd.append('file', file); $.ajax({ type: 'POST', url: 'https://' + bucket + '.s3.amazonaws.com/', processData: false, //