or with curl:
curl --data-binary @file https://p.krebsco.de some-command | curl --data-binary @- https://p.krebsco.de