Hello,
I cannot access the API via JQuery. I am getting this error:
Is it not possible to use JQuery to access the API? Here's my simple code:Code:Failed to load https://filecrypt.cc/api.php?api_key={my_api_key)&fn=containerV2&sub=listV2&state=offline: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://s.codepen.io' is therefore not allowed access. VM598:1 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://filecrypt.cc/api.php?api_key={my_api_key}&fn=containerV2&sub=listV2&state=offline with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Thanks,Code:$.getJSON('https://filecrypt.cc/api.php?api_key={my_api_key}&fn=containerV2&sub=listV2&state=offline',function(data) { console.log(data); });
mR12




Zitieren