Ask A Question
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).