Error 404, Cors problem when calling api/tenants/:id/quotas


#1

Hello,

Im developing a Webapp using js. Im trying to create a tenant and then creat quotas for that tenant. I was able to create the tenant, then from response i got the id and call the api to create a quota for that tenant. BUt i doesnt get the cors from api/tenants/:id/quotas and get 404 error

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost/api/tenants/1000000000140/quotas. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost/api/tenants/1000000000140/quotas. (Reason: CORS request did not succeed).

Anyone knows why this is happening?