Closed calvinmetcalf closed 9 years ago
Hi! I believe not. At Cloudant one does something like this instead:
curl https://username:password@user.cloudant.com/_api/v2/user/config/cors -X PUT -H 'Content-Type: application/json' -d ' { "enable_cors": true, "allow_credentials": true, "origins": [ "https://users_site.com", "https://www.users_site.com" ] }'
Correct, Cloudant has a different CORS setup.
Hi! I believe not. At Cloudant one does something like this instead:
curl https://username:password@user.cloudant.com/_api/v2/user/config/cors -X PUT -H 'Content-Type: application/json' -d ' { "enable_cors": true, "allow_credentials": true, "origins": [ "https://users_site.com", "https://www.users_site.com" ] }'