<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bekkou68</author_name>
  <author_url>https://blog.hatena.ne.jp/bekkou68/</author_url>
  <blog_title>bekkou68 の日記</blog_title>
  <blog_url>https://bekkou68.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>HTTP</anon>
  </categories>
  <description>はじめに Rails でスマートフォン向けの API をつくっている時にどの HTTPステータスコードを返すか、自分なりの判断基準をまとめてみました。 Controller を実装している時によく返すステータスコードをイメージしています。 200 :ok 以下が正常に行われた場合 GET系。action: index, show UPDATE系。action: update DELETE系。action: destroy 201 :created 以下が正常に行われた場合 POST系。action: create 400 :bad_request (2015/04/15 更新) 必要なパラメー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbekkou68.hatenablog.com%2Fentry%2F2015%2F03%2F19%2F222101&quot; title=&quot;スマホAPI の Controller 実装でよくつかう HTTPステータスコードの意図別まとめ - bekkou68 の日記&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>2015-03-19 22:21:01</published>
  <title>スマホAPI の Controller 実装でよくつかう HTTPステータスコードの意図別まとめ</title>
  <type>rich</type>
  <url>https://bekkou68.hatenablog.com/entry/2015/03/19/222101</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
