I want to send the output of uptime and df commands to a web app using cURL. I tried:
uptime | curl http://someurl.com -T -
But that didn't seem to send the data.
What is the proper way to send the output of a command to cURL as a POST parameter? (or wget if that's much easier)
>not a pipe|? Also take a look atxargs. – mbrownnyc Sep 20 '11 at 20:07-Twithhttp[s]://uses PUT, not POST. – DerfK Sep 20 '11 at 20:50