Menu

Theme
Free consultation

Dummy API Lab

Practice REST with 27 fake Indian student records. Safe sandbox — changes stay on this server.

Try live CRUD demo →
Base URL: /dummy_api/
Send Content-Type: application/json for POST, PUT, and DELETE bodies. All responses are JSON. Use Postman, Thunder Client, curl, or fetch(). Demo login password is always student123.
Open FE + BE CRUD demo — list, create, edit, delete students using these same endpoints.

GET 5 endpoints

Endpoint Description Try it
/get-students List students (pagination & filters) Open JSON
/get-student Single student by ID Open JSON
/search-students Search by name, email, city, or course Open JSON
/student-stats Counts by city, course, status + average score Open JSON
/get-courses Available course catalog Open JSON

POST 5 endpoints

Endpoint Description Try it
/create-student Add one student POST
/bulk-students Add multiple students POST
/fake-login Demo login (password: student123) POST
/post-enrollment Enroll / change course POST
/post-feedback Submit rating & comment POST

PUT 5 endpoints

Endpoint Description Try it
/update-student Full update PUT
/update-contact Update email / phone only PUT
/update-course Change course & batch PUT
/update-status Set active or inactive PUT
/reset-data Reset all data to 27 seed students PUT

DELETE 5 endpoints

Endpoint Description Try it
/delete-student Remove one student DELETE
/delete-inactive Remove all inactive students DELETE
/delete-enrollment Clear course enrollment DELETE
/delete-feedback Delete feedback by ID DELETE
/clear-session Invalidate demo login token DELETE

Sample student fields

{
  "id": 1,
  "name": "Aarav Sharma",
  "email": "aarav.sharma@student.in",
  "phone": "+91 98765 43210",
  "city": "New Delhi",
  "state": "Delhi",
  "course": "Full Stack Python",
  "batch": "PY-2025-A",
  "age": 22,
  "gender": "Male",
  "enrollment_date": "2025-01-12",
  "status": "active",
  "score": 88.5
}

Quick test (browser console)

fetch('/dummy_api/get-students?limit=5')
  .then(r => r.json())
  .then(console.log);