我正在尝试让脚本从这里工作: https ://gist.github.com/vor0nwe/e33ace72c850f93bc979/
#!/bin/bash
curl -u YOUR_ACCESS_TOKEN: \
-X POST https://api.pushbullet.com/v2/pushes \
--header 'Content-Type: application/json' \
--data-binary '{"type":"note","title":"Downloaded","body":"$TR_TORRENT_NAME: $TR_TIME_LOCALTIME"}'
在我的 zyxel325 nas 上,但每次收到此消息时:
{"error":{"type":"invalid_request","message":"Failed to decode JSON body.","cat":"(=^‥^=)"}}
我尝试将“ $TR_TORRENT_NAME: $TR_TIME_LOCALTIME
”放在双“”中,但没有帮助。
如果有人可以提供帮助,我将不胜感激。干杯