title: origin 'http://localhost:4200' has been blocked by CORS policy in Angular7
body: <p>I want to use of <a href="http://5.160.2.148:8091/api/trainTicketing/city/findAll" rel="noreferrer">http://5.160.2.148:8091/api/trainTicketing/city/findAll</a> rest for get cities in my angular project.<br>
  I used version 7.2.15 of angular in my project.<br>
  when get this url with httpClient throw following error : <br></p>
  
  <pre><code> Access to XMLHttpRequest at 'http://5.160.2.148:8091/api/trainTicketing/city/findAll' from origin 'http://localhost:4200' 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.
  </code></pre>
  
  <p>While at work correctly when enter url in browser and postman.<br/></p>
  
  <p>why ?</p>