mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
a simple script to post an MBG
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# "date": "1413782506964"
|
||||
|
||||
curl -H "Content-Type: application/json" -H "api-secret: $API_SECRET" -XPOST 'http://localhost:1337/api/v1/entries/' -d '{
|
||||
"mbg": 100,
|
||||
"type": "mbg",
|
||||
"date": "1413779270000"
|
||||
}'
|
||||
Reference in New Issue
Block a user