JSONP Support

1
0
-1

Can we use JSONP in Bonita 6.X?

Best,

Comments

Submitted by ttoine on Mon, 01/27/2014 - 15:24

is it not something that depend on the web browser security policy, rather than on the website ?

Submitted by m.koohi.m on Sun, 02/02/2014 - 08:38

ok! Thank you very much for your answers.

2 answers

1
0
-1

Note that you can find an example of getting JSON from Trello API, transform it, display it in a table, and create a downloadable .csv file. Maybe a good example to start with ? http://community.bonitasoft.com/projects/trello-application-example-incl...

1
0
-1

Hi,

Bonita 6.X doesn't support JSONP natively. There is no limitation for you to decide to add support to it though. If you have access to your application server you could write your own javax.servlet.Filter. I guess catching all requests to the REST api and wrapping results around callbacks passed through the URL would do the trick.

Careful to CSRF issues though :)

Notifications