Hello,
In my project where I use Angular 16, I want to use the Zoho Expense APIs, specifically the expense report API. Since I am using Angular, I created a client-based application and obtained my Client ID, from which I generated an access token. Using this documentation (https://www.zoho.com/crm/developer/docs/api/v6/get-users.html), I successfully retrieved the users in my Angular app.
However, I am unable to retrieve expense reports using this documentation (https://www.zoho.com/expense/api/v1/expense-reports/#overview). I am encountering a CORS error. I have checked the headers and I am sending "X-com-zoho-expense-organizationid", content type, and authorization as my access token. My scope also includes "ZohoExpense.fullaccess.ALL". While the API works correctly when I make the request from Postman, it gives an error in my Angular app.
Do you have a possible solution for this?