mirror of
https://github.com/apache/incubator-kie-kogito-examples.git
synced 2025-08-06 15:20:20 +08:00
Corrected the README instructions (#2083)
Co-authored-by: soniyaabraham <soniya.abraham@ibm.com>
This commit is contained in:
@ -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.
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user