cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
723
Views
5
Helpful
3
Replies

Cors support on finesse 10.5.1

kkunaparaju
Level 1
Level 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
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
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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: