<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hagino_3000</author_name>
  <author_url>https://blog.hatena.ne.jp/hagino_3000/</author_url>
  <blog_title>hagino3000's blog</blog_title>
  <blog_url>https://hagino3000.hatenablog.com/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>JSON-RPCいいよねって話が一昨日の発表後に出たのでちょっと考えてみた。説明不要だろうけど簡単にそれぞれの特徴を。ここではブラウザとサーバー間でのやりとりを前提とする。 REST リソース毎にuriを切っておいて、HTTPのGET, POST, PUT, DELETEメソッドで操作を行なう。 例えば /user/1 というuriに対してGETしたらidが1のユーザ情報が得られる様にしておく。GET処理はべき等にする、などのルールもあるけど難しくない。 調べればいくらでも情報はある。 JSON-RPC RPCはRemote Procedure Callの略。/rpc みたいなuriを一個用意…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhagino3000.hatenablog.com%2Fentry%2F20101209%2F1291831632&quot; title=&quot;RESTとJSON-RPC - hagino3000&amp;#39;s blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-12-09 03:07:12</published>
  <title>RESTとJSON-RPC</title>
  <type>rich</type>
  <url>https://hagino3000.hatenablog.com/entry/20101209/1291831632</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
