[Cod-bugs] Request for answers about crystallography RESTFUL API

Amel Daho amel.benahmed.daho.mail at gmail.com
Fri May 15 03:44:01 EEST 2020


Hello Madam, Sir,


My name is Amel  Ben Ahmed Daho, I am a web developer and I am currently
working on integrating your RESTfull API with  “Alamgir Research Inc”  site
to provide easy access and simplify finding and downloading files.


In the document you provided at the page
https://wiki.crystallography.net/RESTful_API/
<https://www.google.com/url?q=https://wiki.crystallography.net/RESTful_API/&sa=D&source=hangouts&ust=1589588693752000&usg=AFQjCNH3SlsA8Lh1uwCaBw9y4DthSE4Gzw>
, the CORS (Cross Origin resource sharing) is not enabled which causes
problems for most web apps (html/js, Reactjs, angular).

Since the browser does not allow retrieving data from sites that does not
allow CORS, we are unable to retrieve data from your site using these apps,
our intentions are to help users find as many resources as possible by
looking in many sites (like yours) and provide them with links directly.


I have been instructed to request further explanation about this situation,
and to ask you the following:

Did I miss interpreted the docs or is your API not indented to be used like
this (most pages including results.php do not have CORS headers)?  Or is it
simply because someone forgot to enable it?

In any case, Please let me know if you have an answer to my question, and
in case you do not have someone from IT available, I can guide you or help
you fix it (in case there is something wrong with the site).

Looking forward to hear from you and and collaboration with your team.


Best Regards

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.crystallography.net/pipermail/cod-bugs/attachments/20200515/7d925e60/attachment.htm>


More information about the Cod-bugs mailing list