HTTP APIs (Ivan - need review)
Ingesting Data Using curl
curl -sS -H 'Content-Type: application/json' \
-X POST '127.0.0.1:4200/_sql' \
-d '{
"stmt": "INSERT INTO metrics (ts, location, temperature, humidity, cpu_load, battery_level) VALUES (?, ?, ?, ?, ?, ?)",
"bulk_args": [
["2025-08-11T10:00:00Z", "Greenhouse-1", 24.5, 60.2, 12.5, 89.0],
["2025-08-11T10:00:05Z", "Factory-Floor", 28.1, 45.7, 54.8, 65.3],
["2025-08-11T10:00:10Z", "Server-Room", 21.9, 40.0, 75.2, 100.0]
]
}'Ingesting Data Using Python
Last updated

