a simple script to post an MBG

This commit is contained in:
Jason Calabrese
2014-10-19 22:42:44 -07:00
parent efb4aa96e7
commit 9d1fd8a4d5
+8
View File
@@ -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"
}'