Files
cgm-remote-monitor/bin/post-treatment.sh
T

12 lines
276 B
Bash
Executable File

#!/bin/sh
curl -H "Content-Type: application/json" -XPOST 'http://localhost:1337/api/v1/treatments/' -d '{
"enteredBy": "Dad",
"eventType":"Site Change",
"glucoseValue": 322,
"glucoseType": "sensor",
"carbsGiven": 0,
"insulinGiven": 1.25,
"notes": "Argh..."
}'