Hi,
We are consuming StorageService to manage (add/update/delete) json documents in our STEMergy database. GET/POST calls on StorageService are working fine without any issues, however update calls that use "PUT" method are being blocked by CORS. Error in the that we see in the developer tools debugger is below:
https://api.shephertz.com/cloud/1.0/storage/updateByDocId/dbName/<ourdbname//collectionName/AmazonKits/docId/<docid here>
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://api.shephertz.com/cloud/1.0/storage/updateByDocId/dbName/<dbname>/collectionName/AmazonKits/docId/<docid>?version=1.0. (Reason: Did not find method in CORS header ‘Access-Control-Allow-Methods’).
This app is browser based app deployed in a apache web server and javascript SDK is being used to communicate with server.
Appreciate any help here.
Thanks,
Gyanam