curl --location 'http://e-learning-platform.tryasp.net/api/courses//learn/lessons/' \
--header 'Authorization: Bearer <token>'{
"id": 3,
"title": "Understanding the Middleware Pipeline",
"content": {
"content": "Learn how requests flow through ASP.NET Core middleware and how to add custom middleware.",
"videoUrl": "https://www.test.com"
},
"durationInMinutes": 18,
"isMandatory": true,
"orderNumber": 3,
"isCompleted": false,
"nextLessonId": 4,
"previousLessonId": 2,
"quizInfo": {
"id": 1,
"title": "Middleware Pipeline Quiz",
"totalQuestions": 3,
"totalPoints": 5.00
}
}