エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
GitHub - r7kamura/restaurant: A rails plugin to auto-define RESTful API
$ brew install mongodb $ mongod --fork $ rails new example $ cd example $ echo 'gem "restaurant"'... $ brew install mongodb $ mongod --fork $ rails new example $ cd example $ echo 'gem "restaurant"' >> Gemfile $ bundle install $ rails g mongoid:config $ rails c irb(main):001:0> app.accept = "application/json" => "application/json" irb(main):002:0> app.post "/recipes", recipe: { title: "created" } => 201 irb(main):003:0 JSON.parse(app.response.body) => {"title"=>"created", "_id"=>"51963fe9f02da4c1



2013/05/16 リンク