-
-
Save manuelernesto/82ef09558a432e8c639a294fc89e9f69 to your computer and use it in GitHub Desktop.
This file contains 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
#input | |
curl -X POST --location "http://localhost:8080/api/v1/players" \ | |
-H "Content-Type: application/json" \ | |
-d "{ | |
\"name\": \"Leonel Messi\", | |
\"age\": 35, | |
\"nationality\": \"Argentina\" | |
}" | |
#output | |
{"id":1,"name":"Leonel Messi","age":35,"nationality":"Argentina"}% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment