Health check
curl --request GET \
--url https://integration.smartpng.com/api/healthimport requests
url = "https://integration.smartpng.com/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://integration.smartpng.com/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integration.smartpng.com/api/health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://integration.smartpng.com/api/health")
.asString();using RestSharp;
var options = new RestClientOptions("https://integration.smartpng.com/api/health");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"status": "healthy",
"service": "IntegrationCompressFunction"
}Endpoints
GET /health
Check whether the IntegrationCompressFunction service is reachable.
GET
https://integration.smartpng.com/api
/
health
Health check
curl --request GET \
--url https://integration.smartpng.com/api/healthimport requests
url = "https://integration.smartpng.com/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://integration.smartpng.com/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integration.smartpng.com/api/health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://integration.smartpng.com/api/health")
.asString();using RestSharp;
var options = new RestClientOptions("https://integration.smartpng.com/api/health");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"status": "healthy",
"service": "IntegrationCompressFunction"
}Overview
Use this endpoint for uptime checks, smoke tests, and basic monitoring.Notes
- No API key is required.
- This endpoint confirms service availability only.
- It does not validate API keys or billing state.
