title: Curl from command line to download zip file
body: <p>I'm attempting to use Curl form within cygwin to download a zip file that contains dozens of photos.</p>
  
  <p>Problem is I don't have the URL for the actual zip file, rather when clicking on the 'download' link it calls another URL that's dynamically generated and only exists for less than a second so I'm unable to call that URL directly.</p>
  
  <p>The URL which is used when one clicks on 'download' looks like <a href="https://www.testsite/event=dload&amp;task_id=11111" rel="nofollow">https://www.testsite/event=dload&amp;task_id=11111</a></p>
  
  <p>When I use 'copy as Curl' from within Chrom DevTools after clicking on that URL and run that exact script it downloads the source of the web page but not the files itself.</p>
  
  <p>My question is - is there any way to use Curl to actually download this zip file? If not, is there another tool I should consider? Eventually this will be a full-blown app but right now I'm just experimenting in the shell. </p>