Steinbeck-Lab / cheminformatics-microservice

This set of essential and valuable microservices is designed to be accessed via API calls to support cheminformatics.
https://docs.api.naturalproducts.net
MIT License
30 stars 4 forks source link

CORS Policy error in convert/mol3D API #258

Closed NishaSharma14 closed 1 year ago

NishaSharma14 commented 1 year ago

Access to fetch at 'https://dev.api.naturalproducts.net/v1/convert/mol3D?smiles=O%3DC1OC2%3DCC(%3DCC(OC3OC(CO)C(O)C(O)C3O)%3DC2C4%3DC1CCC4)C' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

CS76 commented 1 year ago

commit #025d961 fixes this issue