Jump to content
  • 0

Getting error in Posting Create API

Rich Webs Oneness


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.

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,
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...