Created
May 17, 2011 18:36
-
-
Save madrobby/977070 to your computer and use it in GitHub Desktop.
Use JSON to create entries via the Freckle API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -d @entry.json -H "Content-type: text/json" -H "X-FreckleToken:lx3gi6pxdjtjn57afp8c2bv1me7g89j" http://apitest.letsfreckle.com/api/entries.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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