Cors blocked when api call from angular ... but not in postman


when i tried to get data using postman it works! but when i call this api using angular it’s getting cors blocked. would you please help me to solved this issue. TIA

Hi @musa406,

Have you ever used angular to make an api call to KoBoToolbox in the past? Was it working then?

Have a great day!

Hello!
I’m having the same problem and still I don’t find the solution. It works in Postman. I use the code from postman in my code in javascript ans still I have the CORS problem. I use a google extension called CORS and still does not work. I’m not sure if the problem is the browser or my code. I see the kobocat code for the backend and it is not so clear about the request for the api. I don’t know what to do :fearful: