I'm sending this request from Angular UI:
'Accept':'multipart/form-data',
'Access-Control-Allow-Crendentails':'true',
'Access-Control-Allow-Origin':'*',
'Access-Control-Allow-Method':'POST,GET,OPTIONS,PUT',
'Access-Control-Allow-Headers':'Authorization,Content-Type'
Iv'e got the following error:
Orgin'http://localhost ' is therefore not allowed
The webserver is Apache Tomcat. How can I handle this error?