Telnet doesn’t use the colon $ telnet <address> <port> But i think you’re right about the addresses being wrong bad. “http” means port “:80” and “https” uses port “:443”
On Mon, Aug 26, 2019 at 10:27 PM Uri Guttman <u...@stemsystems.com> wrote: > On 8/26/19 8:00 PM, Mike wrote: > > > > > > > > use constant USGS_URL => 'https://ned.usgs.gov/epqs/pqs.php'; > > to > > use constant USGS_URL => 'https://nationalmap.gov/epqs/pqs.php'; > > > > have you tried to just telnet to those hosts? > > telnet nationalmap.gov:443 > telnet: could not resolve nationalmap.gov:443/telnet: Name or service > not known > telnet ned.usgs.gov:443 > telnet: could not resolve ned.usgs.gov:443/telnet: Name or service not > known > > > so there is something wrong with the urls and not the code (or the code > has bad urls). > > and just getting the web pages is also failing > > GET https://ned.usgs.gov/epqs/pqs.php > <error>General failure: Invalid Coordinates</error> > > GET https://nationalmap.gov/epqs/pqs.php > <error>General failure: Invalid Coordinates</error> > > i dunno the module but it seems that you may not be passing in any > coordinates or something else is needed. > > uri > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Andy Bach afb...@gmail.com Not at my desk