{"provider_url":"https://hatena.blog","type":"rich","width":"100%","author_name":"ryousanngata","published":"2012-05-05 13:17:23","url":"https://ryozi.hatenadiary.jp/entry/20120505/1336277843","blog_title":"\u65e5\u3005\u91cf\u7523","blog_url":"https://ryozi.hatenadiary.jp/","description":"LWP\u3067\u3067\u304d\u308b\u304b\u306a\u3063\u3066\u601d\u3063\u3066\u305f\u3089\u3001\u3059\u3050\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067Socket\u53e9\u3044\u3066\u66f8\u3044\u305f\u3051\u3069\u3001 \u8abf\u3079\u305f\u3089\u666e\u901a\u306bLWP\u3067\u51fa\u6765\u305f\u3002\u3067\u3059\u3088\u306d\u30fc\u3002 use LWP::UserAgent; use HTTP::Request::Common; my $ua = new LWP::UserAgent; my $res=$ua->request( POST('http://192.168.11.254/upload', Content_Type => 'multipart/form-data', Content => [ 'file' => ['test.txt', '/tmp/test.txt'] ] ) ); \u51fa\u2026","image_url":null,"version":"1.0","height":"190","title":"multipart/form-data\u3067\u9001\u4fe1\u3059\u308b\u969b\u3001\u4efb\u610f\u306efilename\u5024\u3092\u6307\u5b9a\u3059\u308b","categories":["Perl"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/ryousanngata/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F20120505%2F1336277843\" title=\"multipart/form-data\u3067\u9001\u4fe1\u3059\u308b\u969b\u3001\u4efb\u610f\u306efilename\u5024\u3092\u6307\u5b9a\u3059\u308b - \u65e5\u3005\u91cf\u7523\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}