Skip to content

Commit

Permalink
[incubator-kie-issues#1292] Fix README in process-saga-quarkus (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinweiler authored Jun 3, 2024
1 parent 5742e2c commit 25e1dff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kogito-quarkus-examples/process-saga-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Once the service is up and running, you can use the following examples to intera

### Starting the Order Saga

#### POST /orders
#### POST /order

Allows to start a new Order Saga with the given data:

Expand All @@ -116,7 +116,7 @@ Given data:
Curl command (using the JSON object above):

```sh
curl -H "Content-Type: application/json" -X POST http://localhost:8080/orders -d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa"}'
curl -H "Content-Type: application/json" -X POST http://localhost:8080/order -d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa"}'
```
The response for the request is returned with attributes representing the response of each step, either
success or failure. The `orderResponse` attribute indicates if the order can be confirmed in case of success or
Expand Down Expand Up @@ -173,7 +173,7 @@ Example:
Curl command (using the JSON object above):

```sh
curl -H "Content-Type: application/json" -X POST http://localhost:8080/orders -d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa", "failService" : "PaymentService"}'
curl -H "Content-Type: application/json" -X POST http://localhost:8080/order -d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa", "failService" : "PaymentService"}'
```

Response example:
Expand Down

0 comments on commit 25e1dff

Please sign in to comment.