- export _H1="Content-Type: application/json"
- export _H2="Access-Token: ${PUSHBULLET_TOKEN}"
- _content="$(printf "*%s*\n" "$_content" | _json_encode)"
- _subject="$(printf "*%s*\n" "$_subject" | _json_encode)"
- _data="{\"type\": \"note\",\"title\": \"${_subject}\",\"body\": \"${_content}\",\"device_iden\": \"${PUSHBULLET_DEVICE}\"}"
- response="$(_post "$_data" "$PUSHBULLET_URI")"
+ export _H1="Content-Type: application/json"
+ export _H2="Access-Token: ${PUSHBULLET_TOKEN}"
+ _content="$(printf "*%s*\n" "$_content" | _json_encode)"
+ _subject="$(printf "*%s*\n" "$_subject" | _json_encode)"
+ _data="{\"type\": \"note\",\"title\": \"${_subject}\",\"body\": \"${_content}\",\"device_iden\": \"${PUSHBULLET_DEVICE}\"}"
+ response="$(_post "$_data" "$PUSHBULLET_URI")"