This is an automated email from the ASF dual-hosted git repository.

gitgabrio pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 3bfeeb39a Corrected the README instructions (#2083)
3bfeeb39a is described below

commit 3bfeeb39aa721516ad296889b1566a1ef6afcf63
Author: Soniya Abraham <[email protected]>
AuthorDate: Tue Mar 11 16:54:48 2025 +0530

    Corrected the README instructions (#2083)
    
    Co-authored-by: soniyaabraham <[email protected]>
---
 kogito-quarkus-examples/dmn-quarkus-example/README.md       | 4 ++--
 kogito-springboot-examples/dmn-springboot-example/README.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kogito-quarkus-examples/dmn-quarkus-example/README.md 
b/kogito-quarkus-examples/dmn-quarkus-example/README.md
index 233ee5f03..199bca1f2 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/README.md
+++ b/kogito-quarkus-examples/dmn-quarkus-example/README.md
@@ -151,7 +151,7 @@ Given valid input:
 Curl command (using the JSON object above):
 
 ```sh
-curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d 'p1": {"Name":"Joe","Interests":["Golf"]}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
+curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d '{"p1": {"Name":"Joe","Interests":["Golf"]}}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
 ```
 
 As response, interests information is returned.
@@ -185,7 +185,7 @@ With invalid value
 Curl command (using the JSON object above):
 
 ```sh
-curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d 'p1": {"Name":"Joe","Interests":["Dancing"]}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
+curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d '{"p1": {"Name":"Joe","Interests":["Dancing"]}}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
 ```
 
 As response, error information is returned.
diff --git a/kogito-springboot-examples/dmn-springboot-example/README.md 
b/kogito-springboot-examples/dmn-springboot-example/README.md
index 3e9006071..ca41d8a2c 100644
--- a/kogito-springboot-examples/dmn-springboot-example/README.md
+++ b/kogito-springboot-examples/dmn-springboot-example/README.md
@@ -106,7 +106,7 @@ Given valid input:
 Curl command (using the JSON object above):
 
 ```sh
-curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d 'p1": {"Name":"Joe","Interests":["Golf"]}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
+curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d '{"p1": {"Name":"Joe","Interests":["Golf"]}}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
 ```
 
 As response, interests information is returned.
@@ -140,7 +140,7 @@ With invalid value
 Curl command (using the JSON object above):
 
 ```sh
-curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d 'p1": {"Name":"Joe","Interests":["Dancing"]}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
+curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' 
-d '{"p1": {"Name":"Joe","Interests":["Dancing"]}}' 
http://localhost:8080/AllowedValuesChecksInsideCollection
 ```
 
 As response, error information is returned.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to