Using terminal to record/save a data stream
- by jonhurlock
I want to be able to save a data stream which i am returning using the curl command. I have tried using the cat command, and piping it the curl command, however i'm doing it wrong.
The code im currently using is:
cat > file.txt | curl http://datastream.com/data
Any help would be appreciated.