CloudFlare API Question

Using POSTMAN to retrieve data works without issue, but using XMLHttpRequest results in a “CORS” error.

Anybody got any tips?

The API is not intended to be called from a browser (also for security reasons). If you want to do that you’d need to have a server-side wrapper which takes the command from the browser and runs the HTTP request then itself.

Thank you for the info! Will do.