I am using this code:
curl -o filename.txt url | xargs hdfs dfs -moveFromLocal $1 /path/to/dir/
When I run this code, the values from request are saved inside fileName.txt and then that file is moved to HDFS. I wanna know if I can, mantain the curl output in memory?