I’m trying to build an Ajax/JavaScript chat API client on the Customer Portal. I got the XML p...
Content
I’m trying to build an Ajax/JavaScript chat API client on the Customer Portal. I got the XML payloads from answer ID 8129. GetChatUrl works fine and I can retrieve the Chat URL, token and site name. I then use them in the RequestChat request. The problem is that I am getting this error:
Failed to load https://bcvipam02.rightnowtech.com/Chat-WS/services/wschat-enduser/v1_2?pool=7358:1: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://livetest-18b.custhelp.com'; is therefore not allowed access.
I am attaching a short video as well.
Tagged:
0