I\'m trying to pass the cat output to curl:
cat
$ cat file | curl --data \'{\"title\":\"mytitle\",\"input\":\"-\"}\' http://api
Bu
You can use the magical stdin file /dev/stdin
/dev/stdin
cat data.json | curl -H "Content-Type: application/json" -X POST -d "$(