Example section for showcasing API endpoints
curl -X GET https://api.monitry.net/<VERSION>/endpoint \ -H "Authorization: Bearer <TOKEN>"
fetch("https://api.monitry.net/<VERSION>/endpoint", { method: "GET", headers: { Authorization: "Bearer <TOKEN>", "Content-Type": "application/json", }, }) .then((response) => response.json()) .then((data) => console.log(data));
import requests headers = { 'Authorization': 'Bearer <TOKEN>', 'Content-Type': 'application/json' } response = requests.get('https://api.monitry.net/<VERSION>/endpoint', headers=headers) print(response.json())