mirror of https://dicksdeathabove.xyz/~mia/posh synced 2024-12-12 13:25:07 +00:00

missed this somehow

This commit is contained in:
Mia T. Rain 2022-08-16 04:28:54 -04:00
parent 91f8a7fa78
commit c3d94fe98c
Signed by: Mia
GPG key ID: 5F40D66F94DECFE8

2
post
View file

@ -45,5 +45,5 @@ printf 'POST IS:\n%s\n' "$in"
ID="=${ID}"
}
# ------ POST ⌄
curl -sX "POST" -H "Authorization: Bearer $KEY" -d status="$in" -L "${URL}/api/v1/statuses" -d visibility="${VIS:-public}" -d sensitive="$NSFW:-false}" -d media_ids[]${ID} >/dev/null
curl -sX "POST" -H "Authorization: Bearer $KEY" -d status="$in" -L "${URL}/api/v1/statuses" -d visibility="${VIS:-public}" -d sensitive="${NSFW:-false}" -d media_ids[]${ID} >/dev/null
# currently only 1 image is supported -- TODO