GET
/
health
cURL
curl -X GET 'https://core-api-server.onrender.com/health'
{
  "status": "All systems operational!",
  "timestamp": "2024-01-15T10:30:45.123Z"
}

What This Endpoint Does

1

Server Status Check

Confirms the Express.js server is running and responsive
2

Timestamp Generation

Provides current server time for synchronization checks
3

Quick Response

Returns immediately without complex system checks or database queries

Parameters

None
-
This endpoint accepts no parameters or request body

Response Examples

Success Response (200)

status
string
Operational status messageExample: "All systems operational!"
timestamp
string
Current server time in ISO 8601 formatExample: "2024-01-15T10:30:45.123Z"

Success Responses

{
  "status": "All systems operational!",
  "timestamp": "2024-01-15T10:30:45.123Z"
}

Common Error Responses

{
  "message": "<error message>"
}

Response

200 - application/json

API is healthy

The response is of type object.