curl -X POST -H "Content-Type: application/json" \
-d '{"name":""}' \
http://localhost:4000/authors
# {"validation":[{..."constraints":{"isLength":"name must be longer than or equal to 3 characters"}}]}
curl -X POST -H "Content-Type: application/json" \
-d '{"title":"", "text":""}' \
http://localhost:4000/articles
# {"validation":[{..."constraints":{"isLength":"title must be longer than or equal to 3 characters"}},{..."constraints":{"isLength":"text must be longer than or equal to 3 characters"}}]}
curl -X POST -H "Content-Type: application/json" \
-d '{"title":"Article With Author", "text":"Article Text"}' \
http://localhost:4000/articles
# {"title":"Article Title","text":"Article Text", "id":3}