POST
Login
api/login.php
Authenticate user with username and password. Returns user_id, full_name, and grade.
GET
Get Exams
api/get_exams.php?user_id={id}
Get list of available exams based on user's grade (5 or 10).
POST
Start Exam
api/start_exam.php
Start an exam and get all questions with result_id.
POST
Submit Exam
api/submit_exam.php
Submit exam answers and calculate scores with marking scheme.
GET
Get Result Details
api/get_result_details.php?result_id={id}
Get detailed result with subject-wise scores for NEET exams.
POST
Upload Questions
api/upload_questions.php
Bulk upload questions from CSV file format.