I have implemented ant media server successfully. Now in API I have tested in Postman it works fine. But when I am going to post via jquery ajax in live server I am getting error. Access to fetch at 'https://obshls.back2school.co.in:5443/LiveApp/rest/broadcast/create' from origin 'https://app.back2school.co.in' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
And when I am going to post via PHP CURL i am getting this error. Could not resolve host: example.com; Unknown error
Question
Rich Webs Oneness
Hi,
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
May 8
1
May 15
1
Top Posters For This Question
Selim Emre 1 post
Rich Webs Oneness 1 post
Popular Days
May 8 2019
1 post
May 15 2019
1 post
1 answer to this question
Recommended Posts