cURL
curl --request GET \
--url https://api.example.com/is-valid-rootconst options = {method: 'GET'};
fetch('https://api.example.com/is-valid-root', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"valid": true
}{
"code": "internal_server_error",
"message": "<string>"
}Gateway
Get is valid root
GET
/
is-valid-root
cURL
curl --request GET \
--url https://api.example.com/is-valid-rootconst options = {method: 'GET'};
fetch('https://api.example.com/is-valid-root', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"valid": true
}{
"code": "internal_server_error",
"message": "<string>"
}Was this page helpful?