Hi, i am new here, so apologizing in case of any blunder
My Question is : i have trying to call assembla apis in order to perform certain tasks like ticket creation from my browser. But when i try to call api from postman it works like charm but when i do the same from browser i get
Error: " ... has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Here is my code
{"ticket":{"summary":"Testssss"}}
, {
headers: {
'Content-Type':'application/json',
"X-Api-Key": key,
"X-Api-Secret": secretKey,
'Access-Control-Allow-Origin':"*" ( same issue with or without this)
}
})
Thank you in advance.