Home / Questions / Example Task: How does Agent Mode create a new REST API endpoint?
Explanatory Question

Example Task: How does Agent Mode create a new REST API endpoint?

👁 34 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Agent Mode autonomously:

  • Creates API routes (routes/api.js)

  • Updates app.js

  • Installs dependencies (npm install express)

  • Generates test cases (tests/api.test.js)