Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Form ajax upload to s3

Rails • Asked by Francisco Quinones

Hi!, So I have a form that was using ajax to post the data to the server, then I add it a img file and the process was taking to long so now I want to do direct upload to s3.

I setup the :

  • aws
  • cors
  • form
  • ajax
  • presigned_post

Im getting this error Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'. I think that my persigned data its not passing correct on the ajax.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.