Company: Atlan_21march
Difficulty: medium
Problem Description Develop a RESTful API to manage student information. The service should provide endpoints to add, retrieve, edit, and delete student details, serving as the backend for a student state management interface. Endpoints POST /students : Creates a new student record. GET /students : Retrieves all student records. PUT /students/:id : Updates an existing student record by ID. DELETE /students/:id : Deletes a student record by ID. Request Format POST /students and PUT /students/:id The request body must be in JSON format with all of the following required fields: name (string): The full name of the student. email (string): The email address of the student. course (string): The course or major of the student. Response Format POST /students 201 Created: Returns the created student object as JSON, including a server-generated id (string). GET /students 200 OK: Returns a JSON array of all student objects. Each object must contain id , name , email , and course . PUT /students/