Create Widget

POST /widgets
application/json

Body Required

Widget to create

Responses

  • 201

    Created

  • 400 application/problem+json

    Bad Request

    Hide response attribute Show response attribute object
POST /widgets
curl \
 -X POST https://example.com/widgets \
 -H "Content-Type: application/json" \
 -d '{"name":"Goblin Staff of Sparks"}'
Request example
{
  "name": "Goblin Staff of Sparks"
}