Ping the server to check if it is alive
Ping response
The response data
const response = await fetch('https://api.spectrallabs.xyz/ping_auth', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "data": "pong" }