title: How can I call the Agora API from frontend JavaScript code running in a browser?
body: <p>When I call Agora API for getting the live channel name from PostMan tool then it is successfully called but the problem is that when I try to call Agora API using Angular7, then it gives me cross-origin with 404 error. I have mentioned exception below.</p>
  
  <pre><code>OPTIONS https://api.agora.io/dev/v1/channel/{App Id}/ 404 (Not Found)
  
  
  
  Access to XMLHttpRequest at 'https://api.agora.io/dev/v1/channel/{App Id}/' from origin MY IP 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>