Check the server is up
GET
/health
const url = 'https://your-machine.your-tailnet.ts.net/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-machine.your-tailnet.ts.net/healthResponses
Section titled “Responses”Server is running.
Media typeapplication/json
object
ok
boolean
service
string
Example
{ "ok": true, "service": "openline-server"}