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