Created
March 5, 2015 18:52
-
-
Save hermpheus/df40ba2f99a46a70860b to your computer and use it in GitHub Desktop.
Create HabitRPG Task from CLI
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
#!/bin/sh | |
curl -X POST -H "Content-Type:application/json" -H "x-api-key: X" -H "x-api-user: X" https://habitrpg.com/api/v2/user/tasks/ -d "{\"text\":\"$1\",\"type\":\"todo\",\"value\":\"0\", \"notes\":\"\"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment