Verificación de preparación
curl --request GET \
--url https://api.truthlocks.com/readyzconst options = {method: 'GET'};
fetch('https://api.truthlocks.com/readyz', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/readyz"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/readyz"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}ready{
"status": "not_ready"
}Sistema
Sonda de preparación
Devuelve la preparación del servicio. No se requiere autenticación.
GET
/
readyz
Verificación de preparación
curl --request GET \
--url https://api.truthlocks.com/readyzconst options = {method: 'GET'};
fetch('https://api.truthlocks.com/readyz', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/readyz"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/readyz"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}ready{
"status": "not_ready"
}
