really basic template to post sgvs

This commit is contained in:
Jason Calabrese
2014-11-16 18:12:55 -08:00
parent 6682d274b0
commit 82fb83b230
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# "date": "1413782506964"
curl -H "Content-Type: application/json" -H "api-secret: $API_SECRET" -XPOST 'http://localhost:1337/api/v1/entries/' -d '{
"sgv": 100,
"type": "sgv",
"direction": "Flat",
"date": "1415950912800"
}'