rest api in bonita
1 answer
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