API endpoint to verify service availability and database connection
{ "success": true, "message": "<string>", "data": "<any>", "error": { "message": "<string>", "type": "<string>", "param": "<string>", "code": "<string>" } }
curl -X 'GET' \ 'https://localhost:8080/health' \ -H 'accept: application/json'
Successful Response
Indicates whether the request was successful.
A brief message about the response.
The payload of the response.
Detailed error information, if applicable.
Show child attributes