<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>コマンド-curl</anon>
    <anon>API</anon>
    <anon>コマンド</anon>
    <anon>API-検証</anon>
  </categories>
  <description>最近 curl で API の検証を行う機会が多いのだが、POSTする場合のオプションがいまいちわかってないのでここにメモを残します。 curl オプション（POSTする場合） -d オプション（--data &quot;データ&quot;） エンコード未済のデータを扱いたい場合 json データを扱いたい場合 -F オプション（--form &quot;名前=値&quot;） 使い分け そのほかのよく使う curl オプション 詳細出力(-v もしくは --verbose) curl オプション（POSTする場合） -d オプション（--data &quot;データ&quot;） データを POST したのと同じように送るオプションです。 このオプシ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2021%2F11%2F04%2F143315&quot; title=&quot;curl の使い方（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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-04 14:33:15</published>
  <title>curl の使い方（POSTする場合）</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2021/11/04/143315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
