What problem does it solve? Building server-side logic for Wix CLI apps requires knowing the file-based routing conventions, Astro endpoint patterns, and Wix-specific deployment workflow. This Skill provides the exact patterns for creating backend HTTP endpoints without guesswork. ## Core Features & Use Cases - HTTP Endpoint Creation: Generates TypeScript endpoint files in src/pages/api/ with typed APIRoute handlers for GET, POST, and other HTTP methods. - Request Handling Patterns: Covers path parameters via dynamic routes, query strings, JSON body parsing, headers, and standardized response status codes. - Frontend Integration: Shows how to call endpoints from frontend components using Wix's httpClient.fetchWithAuth(). - Use Case: You need a REST API to handle form submissions in your Wix app. This Skill creates src/pages/api/submissions.ts with validated POST handling, proper error responses, and frontend fetch code. ## Quick Start Create a backend HTTP endpoint for my Wix CLI app that handles POST requests with JSON body validation.