setup do @request.env["User-Agent"] = "Recipes Android" end
@request.env["Content-Type"] = "application/json"
see test/functionals/cookbooks_controller_test.rb
see test/functionals/sessions_controller_test.rb
There was an error while loading. Please reload this page.
Introduction
API Setup
User Authentication And Persistence
JSON Strategies
Controller Actions
Testing
App And API Updates
Closing Thoughts
References