IIS允许从站点代码传出REST http请求
由于某些安全权限等原因,我无法在IIS中使用传出的http请求 我正在尝试在我的perl CGI站点的本地主机上使用我自己的REST http服务(这是一个独立的应用程序) use LWP::UserAgent; my $ua = LWP::UserAgent -> new (timeout => 600); my $response = $ua -> get ('http://127.0.0.1:8000/get'); if ($response -> is_error ()) { die join ("\n\n", $response -> error_as_HTML () , $response -> code () , $response -> content () , $response -> status_line () ); } 在这里我得到了什么 <html> <head><title>An […]