curl command and output from the command line