Last active
May 23, 2023 13:27
-
-
Save trufae/5d0ce587cd8f42d15313e4b887b28fa2 to your computer and use it in GitHub Desktop.
toot.sh
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 | |
TOKEN="##PUT##YOUR##KEY##HERE" | |
MESSAGE="$1" | |
INSTANCE="c.im" | |
curl --header "Authorization: Bearer ${TOKEN}" \ | |
--form "status=${MESSAGE}" \ | |
"https://${INSTANCE}/api/v1/statuses" |
radare
commented
May 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment