{"provider_name":"Hatena Blog","image_url":"https://hbb.afl.rakuten.co.jp/hgb/343e842d.6ed39d07.343e842e.115afbbf/?me_id=1213310&item_id=20808581&pc=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fbook%2Fcabinet%2F0119%2F9784814400119_1_3.jpg%3F_ex%3D128x128&s=128x128&t=picttext","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftwinbird-htn.hatenablog.com%2Fentry%2F2017%2F08%2F03%2F233753\" title=\"curl\u3067REST\u3063\u307d\u304f\u3084\u308b\u6642\u306b\u4f7f\u3046\u30aa\u30d7\u30b7\u30e7\u30f3 - write ahead log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/twinbird_htn/","version":"1.0","blog_url":"https://twinbird-htn.hatenablog.com/","provider_url":"https://hatena.blog","published":"2017-08-03 23:37:53","type":"rich","url":"https://twinbird-htn.hatenablog.com/entry/2017/08/03/233753","title":"curl\u3067REST\u3063\u307d\u304f\u3084\u308b\u6642\u306b\u4f7f\u3046\u30aa\u30d7\u30b7\u30e7\u30f3","blog_title":"write ahead log","description":"\u6bce\u56de\u8abf\u3079\u308b\u306e\u3081\u3093\u3069\u304f\u3055\u3044. HTTP Method\u3092\u5207\u308a\u66ff\u3048\u308b X\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u307e\u3059. $ curl -X PUT [hostname] \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4e0e\u3048\u308b d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u307e\u3059. GET\u3067\u3082POST\u3067\u3082\u4f7f\u3048\u308b\u3063\u307d\u3044\u3067\u3059. $ curl -d arg=param1 -d arg1=param2 [hostname] \u30dc\u30c7\u30a3\u3078\u76f4\u63a5\u30c7\u30fc\u30bf\u3092\u5165\u308c\u308b data-binary\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u307e\u3059. \u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u300craw string\u300d\u3092\u76f4\u63a5\u9001\u4fe1\u3057\u307e\u3059. $ curl --data-binary \"raw string\" [hostname] \u30d5\u30a1\u30a4\u30eb\u6307\u5b9a\u3082\u3067\u304d\u307e\u3059. @\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u6307\u5b9a\u3067\u3059. $ c\u2026","author_name":"twinbird_htn","categories":["ShellScript/POSIX","Linux"]}