<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>curl</anon>
  </categories>
  <description>Curlコマンドを使ってファイルをアップロードします。手軽で便利なので是非活用しましょう。 curl でファイルアップロード curl -F name=value -F my_photo=@path_to_my_file http://example.com 構造はこんなかんじです。 curl -X POST -F ${フォームinput名}=@${path_to_my_file} http://example.com -X POST は指定しなくても、curl でファイルアップロード指定したら POST になります。 GETで送るなんて無茶もできる。 curl -X GET -F ${フォー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F20121121%2F1353495415&quot; title=&quot;curl コマンドでHTTPファイルアップロード - それマグで！&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takuya_1st/20190525/20190525183801.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-21 19:56:55</published>
  <title>curl コマンドでHTTPファイルアップロード</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/20121121/1353495415</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
