rsstootalizer/post_status.bash

4 lines
186 B
Bash
Raw Normal View History

#!/bin/bash -x
2017-04-23 18:49:07 +00:00
echo "${status}" | curl -sS -X POST --header "Authorization: Bearer ${1}" --header "Content-Type: application/json;charset=utf-8" "${2}/api/v1/statuses" -d@- 2>/dev/null