Design & Implement a REST Endpoint
Let Copilot help plan, structure, implement, and test a new REST endpoint.
category:backend
rest-api
validation
workflow
multi-step
0
Prompt
A structured backend workflow using Copilot to help with design, validation, and testing. ## Steps: 1. Write endpoint requirements in a comment. 2. Ask Copilot: "Propose a REST API design for these requirements." 3. Create the handler file. 4. Add validation with Copilot’s help. 5. Ask Copilot: "Write integration tests for success and error states." 6. Run tests and refine logic. 7. Add documentation comments.