Create a chirp

POST /api/chirps
application/json

Body Required

  • content string

Responses

  • 201

    Chirp created

POST /api/chirps
curl \
 --request POST 'http://localhost:8080/api/chirps' \
 --header "Content-Type: application/json" \
 --data '{"content":"string"}'
Request examples
{
  "content": "string"
}