STOMP Code Examples
Jumpstart your telemetry pipelines with copy-paste examples across modern languages and frameworks.
cURL Request
curl -X GET "https://api.stomp.adawnix.in/v1/fleet" \
-H "Authorization: Bearer ${STOMP_TOKEN}"TypeScript Ingestion
import { StompClient } from "@stomp/sdk";
const client = new StompClient({ token: process.env.STOMP_KEY });
client.on("speeding", (alert) => {
console.log("Vehicle speed alert:", alert.vehicleId, alert.speed);
});