New Discussion

Notifications

You’re not receiving notifications from this thread.

DigitalOcean Spaces CORS configuration for AJAX POST requests

0
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).

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.