GET
/api/v1/courses/all
curl \
--request GET 'http://localhost:3500/api/v1/courses/all'
Response examples (200)
{
"message": "string",
"total": 42.0,
"courses": {
"name": "string",
"description": "string",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"id": "string"
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}