Health check
curl --request GET \
--url https://dev-gateway.molpha.io/healthconst options = {method: 'GET'};
fetch('https://dev-gateway.molpha.io/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dev-gateway.molpha.io/health"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev-gateway.molpha.io/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))
}{
"status": "up"
}{
"status": "up"
}Gateway API
Health check
Liveness probe for the gateway process.
GET
/
health
Health check
curl --request GET \
--url https://dev-gateway.molpha.io/healthconst options = {method: 'GET'};
fetch('https://dev-gateway.molpha.io/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dev-gateway.molpha.io/health"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev-gateway.molpha.io/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))
}{
"status": "up"
}{
"status": "up"
}Response
Gateway is healthy
Gateway health status.
Example:
"up"
⌘I