--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-use...@googlegroups.com.
To post to this group, send email to orcid-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.
Hi Shinya,Unfortunately, it appears that ORCID does not allow calls to the API from within the browser - I ran into this earlier here: https://support.orcid.org/forums/175591-orcid-ideas-forum/suggestions/17805697-add-access-control-allow-headers-authorizatioThus, the only way to get around this is by having your back-end make the request, and then have your front-end call that back-end.Good luck,Vincent
On Tue, Sep 11, 2018 at 2:06 PM Shinya Koizumi <sh.ko...@gmail.com> wrote:
I am developer working on my client website and display data on the website using this api.--I was wondering why I am not getting json information. I was told to use https://pub.orcid.org/0000-0000-0000-0000(orcid)/works but gettingCORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://mydomain.dk' is therefore not allowed access.Do I need to get authenticated first with public client_id and secret code? If so where can I find it?$.ajax({headers: {Accept: "application/orcid+json",},dataType: 'json',success : function(response) {}});
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-users+unsubscribe@googlegroups.com.
To post to this group, send email to orcid-api-users@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-users+unsubscribe@googlegroups.com.
To post to this group, send email to orcid-api-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-use...@googlegroups.com.
To post to this group, send email to orcid-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-use...@googlegroups.com.
To post to this group, send email to orcid-a...@googlegroups.com.