title: API working fine in postman but not in angular2
body: <p>I have an API to send an OTP to mobile. It is working fine via PostMan but not via angular2. </p>
  
  <p>I am getting this error "Request header field Access-Control-Allow-Origin is not allowed by Access-Control-Allow-Headers in preflight response."</p>
  
  <p>Any help</p>
  
  <p>Thanks in advance 
  <a href="https://i.stack.imgur.com/0RiL2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0RiL2.png" alt="enter image description here"></a></p>