Skip to content

Instantly share code, notes, and snippets.

@madrobby
Created May 17, 2011 18:36
Show Gist options
  • Save madrobby/977070 to your computer and use it in GitHub Desktop.
Save madrobby/977070 to your computer and use it in GitHub Desktop.
Use JSON to create entries via the Freckle API
curl -d @entry.json -H "Content-type: text/json" -H "X-FreckleToken:lx3gi6pxdjtjn57afp8c2bv1me7g89j" http://apitest.letsfreckle.com/api/entries.json
{
"entry": {
"minutes": "2h",
"user": "[email protected]",
"project-id": 8475,
"description": "test",
"date": "2011-05-17"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment