Last active
August 29, 2015 14:18
-
-
Save mikesorae/72cbc3df91152ee61133 to your computer and use it in GitHub Desktop.
file upload by curl & send message to chatwork
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 -T "$FILE_NAME" -u $USER:$PASS "https://$SPACE.backlog.jp/dav/$PROJECT/$DIR" | |
curl -X POST -H "X-ChatWorkToken: $API_TOKEN" -d "body=$MESSAGE" "https://api.chatwork.com/v1/rooms/$ROOM_ID/messages" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment