Last active
August 1, 2022 19:24
-
-
Save glommer/a37ff09f176237886252dbf07508fdde 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
$ curl -d '{"title": "my first post", "markdown": "Here is our first post"}' http://localhost:8080/dev/posts | |
{ | |
"id": "19a43957-ef7f-4ebd-8096-2d7e37494e2a", | |
"title": "my first post", | |
"markdown": "Here is our first post" | |
} | |
$ curl -d '{"title": "my second post", "markdown": "Here is our second post"}' http://localhost:8080/dev/posts | |
{ | |
"id": "c2730807-5cef-4440-a796-ec62167126dc", | |
"title": "my second post", | |
"markdown": "Here is our second post" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment