I am using Fetch API to make asynchronous requests to the Cloudflare API and I use the new Access tokens. Recently I saw that my get request to the Zones endpoint is no longer considered by Chrome a simple CORS request because of the Authorization header and the Fetch API sends a preflight OPTIONS request which results in a 400 bad request because the Zones endpoint expects a GET request. Do you know if there is a way to avoid sending OPTIONS and send the GET only.
You 100% should not be using a user’s browser for CF API requests if that’s what you are doing, unless you are talking about a browser extension.
It’s a browser extension.