Jump to content
  • 0

Getting error in Posting Create API


Rich Webs Oneness
 Share

Question


Hi,
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

Kindly help me out of this.

Thanks.
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
Hi Rich Webs Oneness,

Sorry for the delay.



I hope that I was able to answer your queries, Rich Webs Oneness. Please feel free to get back to us if you still have any questions.

May the Live Streaming be with you!

Best Regards,
Selim
Link to comment
Share on other sites

 Share

×
×
  • Create New...