<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oropon</author_name>
  <author_url>https://blog.hatena.ne.jp/oropon/</author_url>
  <blog_title>定食屋おろポン</blog_title>
  <blog_url>https://oropon.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>net/http を使うと、単純にPostするのは至って簡単だ。 Net::HTTP.post_formメソッドを叩くだけで事足りる。 library net/http require 'net/http' require 'uri' #例1: POSTするだけ res = Net::HTTP.post_form(URI.parse('http://www.example.com/search'), {'q'=&gt;'ruby', 'max'=&gt;'50'}) puts res.body #例2: 認証付きで POST する res = Net::HTTP.post_form(URI.parse('…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foropon.hatenablog.com%2Fentry%2F2014%2F10%2F28%2F022213&quot; title=&quot;Rubyのnet/httpで重複するキーをもつパラメータをPostする - 定食屋おろポン&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>2014-10-28 02:22:13</published>
  <title>Rubyのnet/httpで重複するキーをもつパラメータをPostする</title>
  <type>rich</type>
  <url>https://oropon.hatenablog.com/entry/2014/10/28/022213</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
