ctftime.org icon indicating copy to clipboard operation
ctftime.org copied to clipboard

API issues

Open patriciasmashp opened this issue 3 years ago • 1 comments

Perhaps I do not understand something, but this is not normal, when I request a list of upcoming events, I get a CORS error: Access to fetch at 'https://ctftime.org/api/v1/events/?limit=10' from origin 'http://mysite.com' 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.

patriciasmashp avatar Oct 31 '21 19:10 patriciasmashp

Well, it was not intended to be client API. I'll think about it.

kyprizel avatar Nov 01 '21 08:11 kyprizel