in reply to io::socket::ssl connecting to specific page on site
PeerAddr => 'example.com:https' is an address that can be looked up in a DNS and a port, PeerAddr => 'example.com/stream/report?token=4gaPemdzfM2M9XwMU9HT8MJSc6Fu6MlA:https', is not. Besides the name it includes part of the get substructure in what would be considered the ip addres subfield.
use strict; use IO::Socket::SSL; # qw(debug3); # simple client my $cl = IO::Socket::SSL->new( PeerAddr => 'example.com:https', ) or die $!; print $cl "GET /stream/report?token=4gaPemdzfM2M9XwMU9HT8MJSc6Fu6M +lA HTTPS/1.0\r\n\r\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: io::socket::ssl connecting to specific page on site
by noxxi (Pilgrim) on Apr 12, 2017 at 15:04 UTC | |
by ve6sar (Novice) on Apr 14, 2017 at 20:57 UTC | |
|
Re^2: io::socket::ssl connecting to specific page on site
by ve6sar (Novice) on Apr 12, 2017 at 04:01 UTC |