Salesforce Asked by Bern Rudisill on December 16, 2020
I am trying to create a chat client using the SalesForce Live Agent REST API but I am running into an issue with CORS. Does the REST API support JSONP, if so do you have some examples, if not then what would be the proper way to use the Live Agent REST API with JavaScript? I am currently using a proxy I quickly created on my server but this causes a few other issues.
No, it doesn't. The Live Agent REST API was not designed with browser clients in mind, for that you would be expected to use the Deployment/Pre-Chat APIs.
You can see an example of the REST API usage here
Answered by PepeFloyd on December 16, 2020
1 Asked on September 13, 2020 by deployment-failure
3 Asked on September 8, 2020 by mvk1991
1 Asked on September 6, 2020 by vivian
1 Asked on September 5, 2020 by 84079616ytreza
dynamic apex dynamic vf component dynamic visualforce visualforce
1 Asked on September 2, 2020 by carl-johan-beurling
apex contentdocument contentversion custom object lightning web components
2 Asked on August 25, 2020 by salesforce-developer
marketing cloud marketing cloud connect marketing cloud connector marketingcloudapi sfmc business unit
0 Asked on August 21, 2020 by divya
2 Asked on August 17, 2020
1 Asked on August 14, 2020 by mohammed-aiyaz
0 Asked on August 12, 2020 by sid-fortunato
1 Asked on August 11, 2020 by ajfmo
1 Asked on August 5, 2020 by rob-cowell
2 Asked on July 26, 2020 by clyde-w
1 Asked on July 24, 2020 by user52080
2 Asked on July 24, 2020 by ayub
0 Asked on July 21, 2020 by bo-wang
Get help from others!
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP