Server Health Check
import requests
url = "https://api.pmxt.dev/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pmxt.dev/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.pmxt.dev/healthpackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pmxt.dev/health"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pmxt.dev/health")
.asString();{
"status": "ok",
"timestamp": 123
}System
Server Health Check
GET
/
health
Server Health Check
import requests
url = "https://api.pmxt.dev/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pmxt.dev/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.pmxt.dev/healthpackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pmxt.dev/health"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pmxt.dev/health")
.asString();{
"status": "ok",
"timestamp": 123
}Was this page helpful?
⌘I

