Ask A Question

Notifications

You’re not receiving notifications from this thread.

DigitalOcean Spaces CORS configuration for AJAX POST requests

Masud Hossain asked in Rails

Traditional file upload (click upload and than click submit) works fine, but when i try to use the jquery fileupload with AJAX to make a post request to the server, it'll return a CORS error. I saw that Digitalocean had cors settings, but only for GET, PUT, and DELETE. I'm assuming not having POST is the issue here.

Any idea how I can get POST to work? (I'm using hatch to push site to production if that helps).

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.