application/json

Body

  • title string Required

Responses

  • 200

    successful

  • 422 application/json

    unprocessable entity

    Hide response attribute Show response attribute object
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • title string
      • detail string
      • code string
POST /widgets
curl \
 --request POST 'https://www.example.com/widgets' \
 --header "Content-Type: application/json" \
 --data '{"title":"string"}'
Request examples
{
  "title": "string"
}
Response examples (422)
{
  "errors": [
    {
      "title": "string",
      "detail": "string",
      "code": "string"
    }
  ]
}