https://github.com/bigbinary/lrm-authentication
https://github.com/bigbinary/lrm-authentication
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bigbinary/lrm-authentication
- Owner: bigbinary
- Created: 2013-12-06T11:52:10.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-28T11:40:06.000Z (about 12 years ago)
- Last Synced: 2025-02-04T21:43:23.154Z (11 months ago)
- Language: Ruby
- Size: 223 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
This application is created as part of building login screen for [Learn
RubyMotion series](http://blog.bigbinary.com/blog/categories/learnrubymotion/) .
This is a rails application against which client will attempt to
authenticate.
## Successful login
In case of successful login credentials returned status code is 200.
http://hurl.eu/hurls/a0bbda3491a8170b0250cf483f886a8b7289179c/eff0af5738bc520d45f352e5e344c58aab347ef2
## Unsuccessful login
In case of unsuccessful login returned status code is 401.
http://hurl.eu/hurls/4d836c34c7c358d87f5a6ca41665627312544535/f4e299e52372e6218be6c68904eab5e62eb966e6
## Internal server error
Sometimes things go wrong on the server side. To simulate that we pass a
params key `give_me_500`.
http://hurl.eu/hurls/1a67fd57334c9f95b5469527fbe52c8718e78f79/40aee4ef0a4069d92b6ed3f5f60345a34e26d000