ping

Endpoint URL

/ping

HTTP Method

GET

Description

Verifies that the HTTP service is running and connectable.

Note: To verify that the database can receive queries or check specific health metrics, use the /exec and /query endpoints.

Request Headers

The GET /ping request does not require any request headers.

Request Body

The GET /ping request does not require a request body.

Response

Successful requests return pong as the response along with the HTTP status code 200 OK. On request failure, an HTTP status code corresponding to the error will be returned. See Data API Error Handling for more information.

Example (Shell)

To make the GET /ping request using cURL, run the cURL command followed by the target URL without any additional parameters. cURL automatically uses the GET HTTP method unless a different method is specified.

HTTP Request

curl https://svc-10444e3f-afeb-46be-b186-a8c64b99f726-dml.aws-ireland-1.svc.singlestore.com/ping

HTTP Response

pong

Last modified: May 5, 2023

Was this article helpful?