You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Started GET "/sign?name=local.png&type=image%2Fpng&size=14968" for 127.0.0.1 at 2017-07-14 23:18:23 +0200
Processing by SignController#sign as HTML
Parameters: {"name"=>"local.png", "type"=>"image/png", "size"=>"14968", "sign"=>{}}
../app/controllers/sign_controller.rb:22: warning: constant OpenSSL::Digest::Digest is deprecated
[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.18ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
Ember component
`import Ember from 'ember';
export default EmberUploader.FileField.extend({
signingUrl: 'http://localhost:3000/sign',
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.
The text was updated successfully, but these errors were encountered: