WebService Rest Post

1
0
-1

Hi
I am new to bonita. I'm configuring connector rest post. My output is json type. Can you tell me how to configure output operations. Then I want to parse json and get the info i want

1 answer

1
0
-1

Hi,

The answer of your REST POST request is parse by the connector and made available in a variable named bodyAsObject. If for example your response is: {"title": "Demo", "description": "A test", "rating": 4} you can access the description using: bodyAsObject.description.

I just create and publish an example to illustrate that.

Notifications