Create widget

POST /widgets
application/json

Body

Responses

  • successful

  • 422 application/json

    unprocessable entity

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