Since the API can be accessed from the front end (browser). The API docs ask us to use User-Agent request header, however the CORS preflight request doesn't allow that header. So browser request is blocked.
You can observe the issue in Firefox but not in Chrome, since Chrome has a bug and it's dropping the header.
Since the API can be accessed from the front end (browser). The API docs ask us to use
User-Agent
request header, however the CORS preflight request doesn't allow that header. So browser request is blocked. You can observe the issue in Firefox but not in Chrome, since Chrome has a bug and it's dropping the header.