-1

Get API from Xero https://api.xero.com/connections

is giving CROS / unknown error in angular httpClient get call with the same Authorization header bearer token, but in post man it is repsonding with tenent details.

I tried using localhost http and a server deployment https urls.

Any help will be appreciated

Tired with postman using Authorzation bearer token and able to recieve the data, but not using httpClient.

  • Consider adding a proxy for the 3rd party API that you are trying to use. Check [this answer](https://stackoverflow.com/questions/76850002/resolve-cors-error-in-angular-for-3rd-party-api). – Octavian Mărculescu Aug 21 '23 at 07:59

0 Answers0