Close
-b gives cookies; either way you have to get your cookies from your browser, but this way you don't need to create an extra file. Of course, I'm never typing whole curl commandlines, I just stick them in a file and copy and paste.