Please change {channel}
and {token}
in the above example. Also change content for --body-data
argument.
wget --no-check-certificate --quiet --method POST --timeout=10 \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer {token}' \
--body-data 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' \
-O /dev/null \
'https://push.bugify.io/{channel}'
Or a bash file script.
#!/bin/sh
BUGIFY_CHANNEL=channel-uuid
BUGIFY_TOKEN=account-token
wget --no-check-certificate --quiet --method POST --timeout=10 \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer '$BUGIFY_TOKEN \
--body-data 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' \
-O /dev/null \
'https://push.bugify.io/'$BUGIFY_CHANNEL