TIL: Forward data to CURL from STDIN

:til: :curl: :cli:

curl can read data from STDIN when --data @- is provided as parameter:

$ echo "Hi" | curl http://theurl.com -d @-