Q:
Need help accessing api using http header
Web Programmer
A:
It’s a CORS issue — setting an Authorization header (or User-Agent for that matter) makes the API request a non-simple request. This means the browser attempts to preflight it with an OPTIONS request, which our backend doesn’t support, so the request fails. So for code running in the browser, you’re stuck with the access_token query parameter.
Thank you, I was running out of ideas to make this work.