RandomAPI/Randomuser.me-Node

Api Server not sending CORS (Access-Control-Allow-Origin) Header

Closed this issue · 2 comments

I can't load randomuser.me data anymore using json as I get the error "No CORS headers found". When I check randomuser.me with a web sniffer, I see that the correct header Access-Control-Allow-Origin is not present

I looked at the github node server source code and in face it doe enable CORS. Maybe cloudflare is causing problems or the server needs a reboot?

This problem started a few days ago - before that - all was working fine.

See:

Screen Shot 2020-12-26 at 1 11 36 PM

I'm having the same problem, but only about half of the requests fail, for the other half everything works just fine:

Screenshot 2021-01-10 at 10 27 55

Issue should be resolved - closing for now. Please reopen if you experience CORS problems again, thanks.