taravel/16. `docs/api.md

599 B

API Documentation

Frontend API

GET /api/frontend

  • Description: Get frontend data.
  • Response: JSON object with a message.

POST /api/frontend

  • Description: Store frontend data.
  • Request Body: JSON object with required fields.
  • Response: JSON object with a success message.

Backend API

GET /api/backend

  • Description: Get backend data.
  • Response: JSON object with a message.

POST /api/backend

  • Description: Store backend data.
  • Request Body: JSON object with required fields.
  • Response: JSON object with a success message.