Open BobrImperator opened 7 years ago
Instead of using a custom signing method as I have detailed previously, use the aws-sdk-ruby to generate a pre-signed url for uploading.
Struggling to replace the example with a pre-signed url from the sdk. Can't seem to get the credentials encrypted.
Trying to use Aws::S3::PresignedPost
but unclear on how to configure it the same way as the example.
Hello, I am getting 400Bad Request error on POST method after receiving a upload URL from Rails Api.
My ember client is pretty much copy-pasted from README, as is rails controller from wiki.
Rails controller ` class SignController < ApplicationController
end end` Here's also a snippet from rails console
Ember component
`import Ember from 'ember'; export default EmberUploader.FileField.extend({ signingUrl: 'http://localhost:3000/sign',
filesDidChange (files) { const uploader = EmberUploader.S3Uploader.create({ signingUrl: this.get('signingUrl') });
} });`
I couldn't find anything related to my problem for 2days, so I decided to make an issue.