Health
Ping
GET
/
ping
Ping
curl --request GET \
--url https://api.polymorfa.com/pingconst options = {method: 'GET'};
fetch('https://api.polymorfa.com/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/ping"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}false{
"status": "ok"
}Response
200 - application/json
Pong
Current status of this resource or operation.
Example:
"ok"
⌘I
Ping
curl --request GET \
--url https://api.polymorfa.com/pingconst options = {method: 'GET'};
fetch('https://api.polymorfa.com/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/ping"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}false{
"status": "ok"
}