update util/hz to use zot api instead of the (now optional) twitter api

This commit is contained in:
zotlabs 2016-12-21 16:44:33 -08:00
parent bb85e139f1
commit 9d49faca61

View file

@ -33,6 +33,6 @@ echo "enter your message to be posted as $USER @ $HUB, then hit Ctrl-D to send."
MSG=$(cat)
curl -ssl -u${USER}:${PASS} --data-urlencode "status=${MSG}" https://${HUB}/api/statuses/update
curl -ssl -u${USER}:${PASS} --data-urlencode "body=${MSG}" https://${HUB}/api/z/1.0/item/update