Hello every body,
Ok here is my problem...
I make an HTTP Request to a server and i am being redirected to another page. How can i know to which page am i being redirected?
Depending on the Request i am being redirected to another page...
I get the HTTP status and content_type but the content is blank...
The status is 302 which means i am being redirected...
How do i get all the headers?
I hope you understand my problem...
Here is a sample of my code:
use strict;
use warnings;
use LWP 5.64;
my $url = 'http://www.thepage.php';
my $content = $browser->post($url,
[
'name'=> "kathas"
]);
print $content->content."\n";
print $content->status_line."\n";
print $content->content_type."\n";