Getting Started with BLOG-API
curl --request POST \
--url http://localhost:3000/posts \
--header 'Content-Type: application/json' \
--data '{"title":"Novo Post","content":"Conteúdo do novo post"}'
curl --request DELETE \
--url http://localhost:3000/posts/42c5f7d3-03d0-47dc-ad3e-62505c70597a
curl --request PUT \
--url http://localhost:3000/posts/1 \
--header 'Content-Type: application/json' \
--data '{"title":"Título Atualizado","content":"Conteúdo atualizado","ref":"nova-ref","labels":["label1","label2"],"related":["related1","related2"]}'
curl --request GET \
--url http://localhost:3000/posts/42c5f7d3-03d0-47dc-ad3e-62505c70597a
curl --request GET \
--url http://localhost:3000/posts