<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryousanngata</author_name>
  <author_url>https://blog.hatena.ne.jp/ryousanngata/</author_url>
  <blog_title>日々量産</blog_title>
  <blog_url>https://ryozi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>LWPでできるかなって思ってたら、すぐできなかったのでSocket叩いて書いたけど、 調べたら普通にLWPで出来た。ですよねー。 use LWP::UserAgent; use HTTP::Request::Common; my $ua = new LWP::UserAgent; my $res=$ua-&gt;request( POST('http://192.168.11.254/upload', Content_Type =&gt; 'multipart/form-data', Content =&gt; [ 'file' =&gt; ['test.txt', '/tmp/test.txt'] ] ) ); 出…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F20120505%2F1336277843&quot; title=&quot;multipart/form-dataで送信する際、任意のfilename値を指定する - 日々量産&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-05 13:17:23</published>
  <title>multipart/form-dataで送信する際、任意のfilename値を指定する</title>
  <type>rich</type>
  <url>https://ryozi.hatenadiary.jp/entry/20120505/1336277843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
