cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

583
Views
5
Helpful
3
Replies
kkunaparaju
Beginner

Cors support on finesse 10.5.1

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 ??

1 ACCEPTED SOLUTION

Accepted Solutions
Deepak Rawat
Cisco Employee

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

View solution in original post

3 REPLIES 3
Deepak Rawat
Cisco Employee

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

Create
Recognize Your Peers
Content for Community-Ad