-
-
Save manuelernesto/202c0dc9536a226d7c4f71c4c7ccede5 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 PUT --location "http://localhost:8080/api/v1/players/1" \ | |
-H "Content-Type: application/json" \ | |
-d "{ | |
\"name\": \"Leo Messi\", | |
\"age\": 35, | |
\"nationality\": \"Argentina\" | |
}" | |
#output | |
{ | |
"id":1, | |
"name":"Leo Messi", | |
"age":35, | |
"nationality":"Argentina" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment