An open API service indexing awesome lists of open source software.

https://github.com/bigbinary/lrm-authentication


https://github.com/bigbinary/lrm-authentication

Last synced: 9 months ago
JSON representation

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