REST API
Handling POST requests
Use @Schema and expect to describe incoming fields. Parse the JSON body, validate it, and respond with a 201 status.
Interactive
Read, edit, run
Apply the code to prepare this browser example, then send a request. Document and AST inspection are available under the advanced controls.
i18n.Sandbox.code
Inspect document or AST
Changes not applied. Press Apply code to update the running example.
Output
View GraphQL schema
Apply code to prepare the example, then send a request.
This playground simulates requests in your browser. Apply the code, then choose an endpoint and press Send Request.