Help for this page

Select Code to Download


  1. or download this
    perl -MLWP::UserAgent -e "print LWP::UserAgent->new->get($ARGV[0])->co
    +ntent" https://www.earthquake.usgs.gov/earthquakes/feed/v1.0/summary/
    +2.5_week.atom
    
    ...
    Response code:            500
    Response message:         Can't connect to www.earthquake.usgs.gov:443
    + (certificate verify failed)
    
  2. or download this
    perl -MLWP::UserAgent -e "print LWP::UserAgent->new(ssl_opts => { veri
    +fy_hostname => 0 )->get($ARGV[0])->content" 
    https://www.earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week
    +.atom
    ...
      <meta charset="utf-8">
      <title>USGS URL Resolution Error Page</title>
      [...]