We are planning to develop a custom web application for our softphone utilizing the finesse rest API and http-bind (BOSH) end point.
I have downloaded the sample from https://github.com/CiscoDevNet/finesse-sample-code/tree/master/NonGadgetSample and it works fine, I had to set up proxies (as instructed) however my question is does finesse servers support CORS?? is there a way for me to enable CORS on the finesse servers ??
Solved! Go to Solution.
Are you using gadgets.io.makeRequest to perform the HTTP GET? The Finesse server will proxy these requests for you and return the data to your gadget javascript, avoiding the CORS issue entirely.
Regards
Deepak
Are you using gadgets.io.makeRequest to perform the HTTP GET? The Finesse server will proxy these requests for you and return the data to your gadget javascript, avoiding the CORS issue entirely.
Regards
Deepak
Hi Deepak,
What package/library would we need to use gadgets.io.makerequest? Could you please point us to the link where we can download this library?
Thanks,
Varun
Hi Deepak,
Thank you for your response, to use gadgets.io.makeRequest what libraries should I be including ??
just the finesse javascript library ? (https://developer.cisco.com/docs/finesse/#!javascript-library), when I tried to load the library I get gadgets undefined error, can you please quickly guide me here. Sorry I am new to finesse
thank you
karthick