Health-check ‘Ping’#
Use /ping
to check whether server is alive or not. This is a health check / monitoring URL.
Route
/ping
Headers#
Key | Value Type | Description |
---|---|---|
Content-Type | String | It used to indicate the media type of the resource for example: application/json for json documents |
accept | It used to request the media type of the resource expected in the response for example: application/json for json document exchange |
Response#
200#
Successful ‘Ping’ - i.e., server is up!
Example
{
"data": {
"message": "pong"
}
}
Errors (4xx
and 5xx
):#
Common Errors
check documentation for common errors.