REST API - ajax

1
0
-1

hi, i am using ajax to get data from bonita, it works whith an application in the same server but doesn't work from another server. how can i write the server side part ? thank you

1 answer

1
+1
-1

hello, you can have a look at the following links, They explain how a JavaScript programs running in web browsers can request data from a server in a different domain: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

and http://en.wikipedia.org/wiki/JSONP

hope this help, Julien.

Comments

Submitted by user11 on Tue, 09/02/2014 - 20:06

thanks , i will try this

Notifications