{"id":2302,"date":"2018-10-09T23:55:16","date_gmt":"2018-10-09T14:55:16","guid":{"rendered":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302"},"modified":"2020-03-25T02:06:42","modified_gmt":"2020-03-24T17:06:42","slug":"curl-%e3%81%ae%e4%be%bf%e5%88%a9%e3%81%aa%e3%82%aa%e3%83%97%e3%82%b7%e3%83%a7%e3%83%b3%ef%bc%88rest-api-%e3%83%86%e3%82%b9%e3%83%88%e3%83%bbpost-%e3%83%aa%e3%82%af%e3%82%a8%e3%82%b9%e3%83%88%ef%bc%89","status":"publish","type":"post","link":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302","title":{"rendered":"curl \u3067 POST \u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3068\u4fbf\u5229\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7"},"content":{"rendered":"<p>curl (\u30ab\u30fc\u30eb\uff09\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<br \/>\nREST API \u306e\u30c6\u30b9\u30c8\u6642\u3084\u3001POST \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u9001\u4fe1\u6642\u306b\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u306a\u304a\u3001\u4eca\u56de\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f curl \u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<pre><code>curl 7.35.0 (x86_64-pc-linux-gnu) libcurl\/7.35.0\n<\/code><\/pre>\n<div class=\"supplement \">\n<strong>\uff5e\u76ee\u6b21\uff5e<\/strong><\/p>\n<p>\u30fb<a href=\"#p01\">POST \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1<\/a><br \/>\n\u30fb<a href=\"#p02\">POST \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8907\u6570\u6307\u5b9a<\/a><br \/>\n\u30fb<a href=\"#p03\">\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u3092\u6307\u5b9a<\/a><br \/>\n\u30fb<a href=\"#p04\">JSON \u30c7\u30fc\u30bf\u3092\u9001\u4fe1<\/a><br \/>\n\u30fb<a href=\"#p05\">\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u3092\u9001\u4fe1<\/a><br \/>\n\u30fb<a href=\"#p06\">\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u6307\u5b9a<\/a><br \/>\n\u30fb<a href=\"#p07\">\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u306e\u307f\u3092\u53d6\u5f97<\/a><br \/>\n\u30fb<a href=\"#p08\">\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5148\u3092\u8ffd\u3046<\/a><br \/>\n\u30fb<a href=\"#p09\">BASIC \u8a8d\u8a3c\u3092\u884c\u3046<\/a><br \/>\n\u30fb<a href=\"#p10\">\u53d6\u5f97\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58<\/a><br \/>\n\u30fb<a href=\"#p11\">\u9032\u6357\u8868\u793a\u3092\u7121\u52b9\u5316<\/a><br \/>\n<\/div>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br\/><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-9913955142682871\" data-ad-slot=\"7236093749\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br\/><script>(adsbygoogle=window.adsbygoogle||[]).push({});<\/script><\/p>\n<h2 id=\"p01\">curl \u3067 POST \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b<\/h2>\n<p>curl \u306b <code>-XPOST<\/code> \u3092\u4ed8\u52a0\u3059\u308b\u3068 POST \u30ea\u30af\u30a8\u30b9\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n<code>-d &lt;\u30d1\u30e9\u30e1\u30fc\u30bf\u540d&gt;=&lt;\u5024&gt;<\/code> \u306e\u5f62\u5f0f\u3067\u9001\u4fe1\u5185\u5bb9\u3092\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code>curl -XPOST -d 'token=abcdefg12345678' https:\/\/xxxxx\n<\/code><\/pre>\n<p><code>-d<\/code> \u306e\u4ee3\u308f\u308a\u306b <code>--data<\/code> \u3092\u4f7f\u7528\u3057\u3066\u3082\u540c\u69d8\u306e\u52d5\u304d\u3092\u3057\u307e\u3059\u3002<br \/>\n\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u8a18\u8f09\u3059\u308b\u5834\u5408\u306f <code>--data<\/code> \u306e\u65b9\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre><code>curl -XPOST --data 'token=abcdefg12345678' https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p02\">POST \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8907\u6570\u6307\u5b9a\u3059\u308b<\/h2>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8907\u6570 POST \u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>&amp;<\/code> \u3067\u7e4b\u3052\u307e\u3059\u3002<\/p>\n<pre><code>curl -XPOST --d 'name=tanaka&amp;age=20' https:\/\/xxxxx\n<\/code><\/pre>\n<p>\u3082\u3057\u304f\u306f\u3001 <code>-d<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8907\u6570\u8a18\u8f09\u3057\u3066\u3082 OK \u3067\u3059\u3002<\/p>\n<pre><code>curl -XPOST --d 'name=tanaka' -d 'age=20' https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p03\">\u4efb\u610f\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u3092\u4ed8\u4e0e\u3059\u308b<\/h2>\n<p><code>-H<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u4efb\u610f\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\nREST API \u306e\u8a8d\u8a3c\u306b\u4f7f\u308f\u308c\u308b <code>Authorization<\/code> \u30d8\u30c3\u30c0\u306e\u6307\u5b9a\u4f8b\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre><code>curl -H \"Authorization: Bearer zzzzzz\" https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p04\">curl \u30b3\u30de\u30f3\u30c9\u3067 JSON \u30c7\u30fc\u30bf\u3092 POST \u3059\u308b<\/h2>\n<p>JSON \u3092\u9001\u4fe1\u3059\u308b\u5834\u5408\u306f\u3001<code>Content-Type<\/code> \u306e\u6307\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u306e\u30aa\u30d7\u30b7\u30e7\u30f3 <code>-H<\/code> \u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<pre><code>curl -XPOST -H \"Content-Type: application\/json\" -d '{\"name\":\"tanaka\"}' https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p05\">POST \u30c7\u30fc\u30bf\u3092\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u3080<\/h2>\n<p>POST \u3067\u9001\u4fe1\u3059\u308b\u5185\u5bb9\u304c\u591a\u3044\u5834\u5408\u306f\u3001\u3042\u3089\u304b\u3058\u3081\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u306f POST \u3059\u308b\u30c7\u30fc\u30bf\u3092\u76f4\u63a5\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<pre><code>echo \"name=hogefuga&amp;age=20\" &gt; postdata.txt\n<\/code><\/pre>\n<p><code>-d @\u30d5\u30a1\u30a4\u30eb\u540d<\/code> \u3082\u3057\u304f\u306f <code>--data @\u30d5\u30a1\u30a4\u30eb\u540d<\/code> \u306e\u5f62\u5f0f\u3067\u3001\u7528\u610f\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -XPOST --data @postdata.txt https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p06\">curl \u306e\u30e6\u30fc\u30b6\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u6307\u5b9a\u3059\u308b<\/h2>\n<p>\u4efb\u610f\u306e User-Agent \u3092\u4f7f\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u6307\u5b9a\u7528\u306e <code>-H<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6d3b\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -H \"User-Agent: Mozilla\/5.0 Chrome\/69.0\" https:\/\/xxxxx\n<\/code><\/pre>\n<p>curl \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f <code>-A<\/code> \u3084 <code>--user-agent<\/code> \u3067\u3082\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>curl --user-agent \"Mozilla\/5.0 Chrome\/69.0\" https:\/\/xxxxx\n<\/code><\/pre>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-9913955142682871\" data-ad-slot=\"6645392458\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/p>\n<h2 id=\"p07\">\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u306e\u307f\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p><code>-I<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u4e0e\u3059\u308b\u3068 <code>HEAD<\/code> \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<br \/>\n<code>HEAD<\/code> \u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u306e\u307f\u304c\u53d6\u5f97\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code>curl -I https:\/\/xxxxx\n<\/code><\/pre>\n<p>\u305f\u3060\u3057\u3001<code>HEAD<\/code> \u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u6b63\u3057\u3044\u5024\u3092\u53d6\u5f97\u3067\u304d\u306a\u3044\u30b5\u30fc\u30d0\u3082\u5b58\u5728\u3057\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5834\u5408\u306f\u3001<code>GET<\/code> \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u3064\u3064\u30d8\u30c3\u30c0\u306e\u307f\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -so \/dev\/null --dump-header - https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p08\">curl \u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5148\u3092\u8ffd\u3046<\/h2>\n<p><code>-L<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u767a\u751f\u6642\u306f\u81ea\u52d5\u9077\u79fb\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -L https:\/\/xxxxx\n<\/code><\/pre>\n<p><code>-I<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u52d5\u4f5c\u78ba\u8a8d\u304c\u5bb9\u6613\u306b\u884c\u306a\u3048\u307e\u3059\u3002<\/p>\n<pre><code>curl -LI https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p09\">curl \u3067 BASIC \u8a8d\u8a3c\u3092\u884c\u3046<\/h2>\n<p><code>-u<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001BASIC \u8a8d\u8a3c\u306e\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>curl -u user:password https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p10\">curl \u3067\u53d6\u5f97\u3057\u305f\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u3078\u4fdd\u5b58\u3059\u308b<\/h2>\n<p>curl \u3067\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30d5\u30a1\u30a4\u30eb\u3078\u66f8\u304d\u8fbc\u3081\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u3082\u6d3b\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code>curl https:\/\/xxxxx &gt; hoge.txt\n<\/code><\/pre>\n<p><code>-o<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3082\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u51fa\u3057\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\nwget \u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u306a\u3044\u30b5\u30fc\u30d0\u30fc\u306a\u3069\u3067\u4fbf\u5229\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<pre><code>curl -o hoge.txt https:\/\/xxxxx\n<\/code><\/pre>\n<h2 id=\"p11\">curl \u5b9f\u884c\u4e2d\u306e\u9032\u6357\u8868\u793a\u3092\u7121\u52b9\u5316\u3059\u308b<\/h2>\n<p>curl \u306e\u5b9f\u884c\u5185\u5bb9\u306b\u3088\u3063\u3066\u306f\u3001\u753b\u9762\u306b\u9032\u6357\u8868\u793a\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br \/>\n<code>-s<\/code> \u3082\u3057\u304f\u306f <code>--silent<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3068\u8868\u793a\u3092\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>curl --silent https:\/\/xxxxx &gt; hoge.txt\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>curl \u30b3\u30de\u30f3\u30c9\u306e\u69d8\u3005\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\ncurl \u306b\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u6642\u3084 API \u306e\u52d5\u4f5c\u78ba\u8a8d\u306b\u5f79\u7acb\u3064\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>POST \u306e\u9001\u4fe1\u3060\u3051\u3067\u306a\u304f\u3001\u4efb\u610f\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u3082\u4ed8\u4e0e\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3088\u304f\u4f7f\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u899a\u3048\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u4f5c\u696d\u3092\u52b9\u7387\u7684\u306b\u9032\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><strong>\u3010\u95a2\u9023\u8a18\u4e8b\u3011<\/strong><br \/>\n\u21d2 <a href=\"\/?p=3969\">ls \u30b3\u30de\u30f3\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u89e3\u8aac<\/a><br \/>\n\u21d2 <a href=\"\/?p=2318\">jq \u30b3\u30de\u30f3\u30c9\u3067 JSON \u3092\u52a0\u5de5\u3059\u308b<\/a><br \/>\n\u21d2 <a href=\"\/?p=2970\">jq \u30b3\u30de\u30f3\u30c9\u5fdc\u7528\u7de8<\/a><br \/>\n\u21d2 <a href=\"\/?p=1631\">MySQL \u306e\u30af\u30a8\u30ea\u7d50\u679c\u3092\u6574\u5f62\u3059\u308b<\/a><br \/>\n\u21d2 <a href=\"\/?p=872\">Apache \u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u89e3\u6790\u30b3\u30de\u30f3\u30c9<\/a><br \/>\n\u21d2 <a href=\"\/?p=590\">CentOS \u304c\u91cd\u3044\u3068\u304d\u306e\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9<\/a><br \/>\n\u21d2 <a href=\"\/?p=681\">CentOS \u306e\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u3092\u78ba\u8a8d\u3059\u308b<\/a><br \/>\n\u21d2 <a href=\"\/?p=2931\">file, strings, zipinfo \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u8abf\u67fb\u3059\u308b<\/a><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-9913955142682871\" data-ad-slot=\"6645392458\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>curl (\u30ab\u30fc\u30eb\uff09\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 REST API \u306e\u30c6\u30b9\u30c8\u6642\u3084\u3001POST \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u9001\u4fe1\u6642\u306b\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002 \u306a\u304a\u3001\u4eca\u56de\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f curl \u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002 curl 7.35.0 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":2328,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[17],"tags":[6,83,86,54,51],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>curl \u3067 POST \u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3068\u4fbf\u5229\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7 - \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3068\u8a2d\u5b9a \uff5e\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff5e<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"curl \u3067 POST \u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3068\u4fbf\u5229\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7 - \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3068\u8a2d\u5b9a \uff5e\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff5e\" \/>\n<meta property=\"og:description\" content=\"curl (\u30ab\u30fc\u30eb\uff09\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 REST API \u306e\u30c6\u30b9\u30c8\u6642\u3084\u3001POST \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u9001\u4fe1\u6642\u306b\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002 \u306a\u304a\u3001\u4eca\u56de\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f curl \u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002 curl 7.35.0 ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302\" \/>\n<meta property=\"og:site_name\" content=\"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3068\u8a2d\u5b9a \uff5e\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff5e\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-09T14:55:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-24T17:06:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/wp-content\/uploads\/2018\/10\/a069.png\" \/>\n\t<meta property=\"og:image:width\" content=\"240\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u63a8\u5b9a\u8aad\u66f8\u6642\u9593\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/#website\",\"url\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/\",\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9\\u3068\\u8a2d\\u5b9a \\uff5e\\u521d\\u5fc3\\u8005\\u306b\\u3082\\u5206\\u304b\\u308a\\u3084\\u3059\\u304f\\u89e3\\u8aac\\uff5e\",\"description\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u69cb\\u7bc9\\u65b9\\u6cd5\\u3084\\u8a2d\\u5b9a\\u624b\\u9806\\u3001\\u30df\\u30c9\\u30eb\\u30a6\\u30a7\\u30a2\\u306e\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\\u624b\\u9806\\u30fb\\u30c8\\u30e9\\u30d6\\u30eb\\u5bfe\\u5fdc\\u306a\\u3069\\u3092\\u30b3\\u30de\\u30f3\\u30c9\\u4ed8\\u304d\\u3067\\u8a73\\u3057\\u304f\\u89e3\\u8aac\\u3057\\u307e\\u3059\\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/wp-content\/uploads\/2018\/10\/a069.png\",\"contentUrl\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/wp-content\/uploads\/2018\/10\/a069.png\",\"width\":240,\"height\":200},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#webpage\",\"url\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302\",\"name\":\"curl \\u3067 POST \\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5\\u3068\\u4fbf\\u5229\\u306a\\u30aa\\u30d7\\u30b7\\u30e7\\u30f3\\u4e00\\u89a7 - \\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9\\u3068\\u8a2d\\u5b9a \\uff5e\\u521d\\u5fc3\\u8005\\u306b\\u3082\\u5206\\u304b\\u308a\\u3084\\u3059\\u304f\\u89e3\\u8aac\\uff5e\",\"isPartOf\":{\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#primaryimage\"},\"datePublished\":\"2018-10-09T14:55:16+00:00\",\"dateModified\":\"2020-03-24T17:06:42+00:00\",\"author\":{\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/#\/schema\/person\/eca4427d8eab937cb2651081ddfb91ac\"},\"breadcrumb\":{\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/\",\"url\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/?p=2302#webpage\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/#\/schema\/person\/eca4427d8eab937cb2651081ddfb91ac\",\"name\":\"\\u7ba1\\u7406\\u4eba\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_featured_media_url":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/wp-content\/uploads\/2018\/10\/a069.png","_links":{"self":[{"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/posts\/2302"}],"collection":[{"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2302"}],"version-history":[{"count":1,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/posts\/2302\/revisions"}],"predecessor-version":[{"id":4401,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/posts\/2302\/revisions\/4401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=\/wp\/v2\/media\/2328"}],"wp:attachment":[{"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xn--o9j8h1c9hb5756dt0ua226amc1a.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}