Health check endpoint
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/healthimport requests
url = "https://gp-auth-module.prod.gnosispay.com/health"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/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://gp-auth-module.prod.gnosispay.com/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/health")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<string>",
"timestamp": "<string>",
"uptime": 123
}API Reference
Health check endpoint
Check if the service is running and get basic system information
GET
/
health
Health check endpoint
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/healthimport requests
url = "https://gp-auth-module.prod.gnosispay.com/health"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/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://gp-auth-module.prod.gnosispay.com/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/health")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<string>",
"timestamp": "<string>",
"uptime": 123
}⌘I