CS-Coursework/documentation/get_ping.md

305 B

Ping API Endpoint

GET /api/ping

Shows whether the api is up and running. Accessible from http://url/api/ping

Responses

  • 200 OK: The api is up and running

Example Request

curl -X GET "https://url/api/ping

Example Response

"Hello World! I'm A rocket Webserver"