rest api in bonita

1
0
-1

i have created one java rest api , now i want to get the json responce to bonita. how to get the JSON responce from Rest API Please help me Thanks in advance.

1 answer

1
0
-1

Hi,

Once installed, using the portal, simply send the associated HTTP request. The JSON is in the response's body.

If you are using the UIDesigner to develop forms, then add a variable to issue a HTTP request with GET method:
- name myVariable, Type External API, Value ../API/extension/myRESTAPI/

At page load, myVariable will contain the JSON.

Another solution would be to add a button to the page: the button is configurable and can be used to send HTTP requests with GET, POST ... methods, and store the result into a variable of the form.

Regards,
Jerome

Notifications