Dev Center
All
Agora.io Community
Why can't I call the Cloud Recording RESTful API through a web browser?
Type: General product inquiry    Platform: RESTful   Last Updated: 2020/11/12 00:35:48

A Web API needs to make a cross-origin request in accordance with Cross-Origin Resource Sharing (CORS) to call the Cloud Recording RESTful API. The browser must first send an OPTIONS request to the server to query if the server accepts cross-origin requests before sending a cross-origin POST request. However, the Cloud Recording RESTful API does not support the OPTIONS method, and therefore you cannot call it with a Web API.

score