Verify Setup#
Once the program has been executed, we can verify the API is up and running by calling the following cURL command:
curl -X 'GET' \
'http://${API_SERVICE_URL}:${API_SERVICE_PORT}/api/v1/ping' \
-H 'accept: */*'
Where:
API_SERVICE_URL
is the endpoint of the service. If running locally, this will likely belocalhost
API_SERVICE_PORT
is the port exposed for the service. The default port is8081
.
If the service is up and running correctly, you should receive a 200
status.