Created
August 3, 2020 22:54
-
-
Save ricardozanini/1e02c046936d36c226229cca0d7aac47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"person" : {"name" : "john", "age" : 20}}' http://kogito-example.com/persons | |
# You should see a response like this: | |
{"id":"90fab845-ae55-4118-b808-8c301c3060a5","person":{"name":"john","age":20,"adult":true}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment