{"id":380,"date":"2012-10-04T19:25:18","date_gmt":"2012-10-04T10:25:18","guid":{"rendered":"http:\/\/blog.belliny.net\/?p=380"},"modified":"2012-10-04T19:25:18","modified_gmt":"2012-10-04T10:25:18","slug":"web-redis-api","status":"publish","type":"post","link":"https:\/\/www.belliny.net\/?p=380","title":{"rendered":"web &#038; redis api"},"content":{"rendered":"<p>http:\/\/thechangelog.com\/post\/2910383164\/webdis-a-redis-http-interface-with-json-output<\/p>\n<p>A Redis HTTP interface with JSON output\u00a0\u2014\u00a0<a href=\"http:\/\/github.com\/nicolasff\/webdis#readme\">Read more<br \/>\n<\/a><a href=\"http:\/\/webd.is\/\" rel=\"nofollow\">http:\/\/webd.is\/<br \/>\n<\/a>http:\/\/github.com\/nicolasff\/webdis<\/p>\n<p>http:\/\/thechangelog.com\/post\/2910383164\/webdis-a-redis-http-interface-with-json-output<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>=_= \uc18c\uac1c\ub97c \ud588\uc73c\ub2c8 \uc124\uce58\ub3c4 \ud574\ubcf4\uace0 \uc2e4\ud589\ub3c4 \ud574\ubcf4\uace0&#8230;<\/p>\n<p>\uc77c\ub2e8 \uc124\uce58, \uc758\uc874\uc131\uc774 \uc788\uc73c\ub2c8 libevent&#8230;<br \/>\n\uc18c\uc2a4\ub97c \ubc1b\uc544 \ubc14\ub85c make clean \u00a0all<br \/>\n\uc758\uc874\uc131 \ubb38\uc81c\ub9cc \ud574\uacb0 \ub418\uba74 \ubcc4 \ubb38\uc81c \uc5c6\uc774 \ube4c\ub4dc \uc644\ub8cc<br \/>\n(libevent\ub97c \uc704\ud55c include\/library \ub514\ub809\ud1a0\ub9ac \uc124\uc815 \ubb38\uc81c\ub85c \uac01\uac01 -I \uc635\uc158\uacfc -L \uc635\uc158\uc744 Makefile\uc5d0 \uc218\uc815\ud558\uc600\uc2b5)<br \/>\n\uc774\ub807\uac8c \ud574\uc11c \ub098\uc628 \ube4c\ub4dc\ub97c redis\uac00 localhost\uc5d0 \uc788\ub2e4\uba74\u00a0\ubc14\ub85c \uc2e4\ud589\uac00\ub2a5&#8230;<br \/>\n\uadf8\uac8c \uc544\ub2c8\ub77c\uba74 webdis.json\ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc801\uc808\ud558\uac8c \uc218\uc815 \ud544\uc694<br \/>\n\uc2e4\ud589\ud558\uba74 7379\ud3ec\ud2b8\ub97c \ud1b5\ud574 \uc811\uadfc \uac00\ub2a5&#8230;<\/p>\n<p>curl http:\/\/127.0.0.1:7379\/SET\/hello\/world<br \/>\n\u2192 {&#8220;SET&#8221;:[true,&#8221;OK&#8221;]}<\/p>\n<p>curl http:\/\/127.0.0.1:7379\/GET\/hello<br \/>\n\u2192 {&#8220;GET&#8221;:&#8221;world&#8221;}<\/p>\n<p>curl -d &#8220;GET\/hello&#8221; http:\/\/127.0.0.1:7379\/<br \/>\n\u2192 {&#8220;GET&#8221;:&#8221;world&#8221;}<\/p>\n<p>\uae30\ubcf8 \uc124\uc815\uc5d4 \uc778\uc99d\uc774 \ud544\uc694\ud558\ubbc0\ub85c curl -v -u user:password http:~~~ \ub4f1\uc73c\ub85c \uc2e4\ud589\ud560 \ud544\uc694\uac00 \uc788\uc74c<\/p>\n<p>=_= \uc368 \ub193\uace0 \ubcf4\ub2c8&#8230; readme \ud30c\uc77c\uc5d0 \uc790\uc138\ud558\uac8c \uc774 \ubaa8\ub4e0\uac8c \uc124\uba85\ub418\uc5b4 \uc788\ub124\uc694..;;<\/p>\n<p>\uaf64 \uc9c1\uad00\uc801\uc774\ub77c \uc4f0\uae30 \ud3b8\ud569\ub2c8\ub2e4 =_=<br \/>\n\ub354\ubd88\uc5b4 binary\ub3c4 \ubcf4\ub0bc \uc218 \uc788\ub2e4\uace0 \ud558\ub124\uc694&#8230;<br \/>\n\uadf8\ub9ac\uace0 WebSockets\ub3c4 \uc9c0\uc6d0\ud569\ub2c8\ub2e4&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/thechangelog.com\/post\/2910383164\/webdis-a-redis-http-interface-with-json-output A Redis HTTP interface with JSON output\u00a0\u2014\u00a0Read more http:\/\/webd.is\/ http:\/\/github.com\/nicolasff\/webdis http:\/\/thechangelog.com\/post\/2910383164\/webdis-a-redis-http-interface-with-json-output &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; =_= \uc18c\uac1c\ub97c \ud588\uc73c\ub2c8 \uc124\uce58\ub3c4 \ud574\ubcf4\uace0 \uc2e4\ud589\ub3c4 \ud574\ubcf4\uace0&#8230; \uc77c\ub2e8 \uc124\uce58, \uc758\uc874\uc131\uc774 \uc788\uc73c\ub2c8 libevent&#8230; \uc18c\uc2a4\ub97c \ubc1b\uc544 \ubc14\ub85c make clean \u00a0all \uc758\uc874\uc131 \ubb38\uc81c\ub9cc \ud574\uacb0 \ub418\uba74 \ubcc4 \ubb38\uc81c \uc5c6\uc774 \ube4c\ub4dc \uc644\ub8cc (libevent\ub97c \uc704\ud55c include\/library \ub514\ub809\ud1a0\ub9ac \uc124\uc815 \ubb38\uc81c\ub85c \uac01\uac01 -I \uc635\uc158\uacfc -L \uc635\uc158\uc744 Makefile\uc5d0 \uc218\uc815\ud558\uc600\uc2b5) \uc774\ub807\uac8c \ud574\uc11c &hellip; <a href=\"https:\/\/www.belliny.net\/?p=380\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;web &#038; redis api&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-talk"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=380"}],"version-history":[{"count":0,"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts\/380\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}