Could not create meeting using post api using angularjs

I have tried to call the Rest API post request to create a meeting but it is giving the following error:

 

Failed to load https://api.zoom.us/v2/users/{userid}/meetings?d=[object%20Object]: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://localhost:8443’ is therefore not allowed access. The response had HTTP status code 403

For user id I used email registered email id.

So local host is not allowed?

 

Fast response is appriciated. Also if you could give some working example on creating simple meeting along with how can start meeting inside my app (Webrtc).

 

Thanks,

Hi Ravi. 

Correct, localhost is not allowed. If you look here  https://zoom.github.io/api/#introduction you will see that it is stated “Our API is a server side implementation designed around REST, it does not support cross-origin resource sharing or access via a client side web application.”

Here is a sample web app to get started - https://github.com/zoom/sample-app-web. 

Thanks

Michael