What problem does it solve? Building server-side logic for Wix CLI apps requires knowing the correct file conventions, HTTP method exports, and response patterns. This Skill guides the creation of backend HTTP endpoints in src/pages/api/ so requests are handled correctly with proper status codes, headers, and validation. ## Core Features & Use Cases - REST Endpoint Creation: Generates TypeScript files in src/pages/api/ with typed APIRoute handlers for GET, POST, and other HTTP methods. - Dynamic Routing: Supports bracket-based dynamic segments like [id].ts for parameterized URLs such as /api/users/:id. - Request and Response Handling: Covers path parameters, query strings, JSON body parsing, headers, and standardized status codes (200, 201, 204, 400, 404, 500). - Use Case: A developer needs a backend endpoint to receive form submissions from a Wix app frontend; the Skill produces a validated POST handler that parses the JSON body and returns proper error responses. ## Quick Start Create a backend HTTP endpoint for my Wix CLI app that accepts POST requests with a title and content field and returns the created item as JSON.