diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md index 05980a9069..6f2561e94c 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md @@ -71,6 +71,7 @@ with following content ```json { + "port": 8080, "inputNumbers": { "numbers": [ 1, @@ -90,11 +91,11 @@ with following content Complete curl command can be found below: ```text -curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"inputNumbers" : {"numbers": [1,2,3,4,5,6,7,8,7]}}' http://localhost:8080/RestExample +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"inputNumbers" : {"port":8080, "numbers": [1,2,3,4,5,6,7,8,7]}}' http://localhost:8080/RestExample ``` curl response will be something like this, which includes field `sum`, the result of multiplying each input number by 8 (that number might differ in your execution) and summing all of them: ```text -{"id":"8e79ac60-c0c1-40d0-808e-8d3585307661","randomNumber":8,"sum":344,"inputNumbers":{"numbers":[1,2,3,4,5,6,7,8,7]}} +{"id":"8e79ac60-c0c1-40d0-808e-8d3585307661","port":8080,"randomNumber":8,"sum":344,"inputNumbers":{"numbers":[1,2,3,4,5,6,7,8,7]}} ```