0.01
No commit activity in last 3 years
No release in over 3 years
Spree's Authenticattion API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 1.2.0
= 1.2.0
 Project Readme

Spree Api Auth

Spree's Rest API add authentication API.

$ /api/users/sign_up.json
$ /api/users/sign_in.json

Example

$ curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"user":{"email":"camelmasa@gmail.com", "password":"camelmasa", "password_confirmation":"camelmasa"}}' http://localhost:3000/api/users/sign_up.json
$ curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"user":{"email":"camelmasa@gmail.com", "password":"camelmasa"}}' http://localhost:3000/api/users/sign_in.json

Testing

Coding now.

Copyright (c) 2012 Masahiro Saito, released under the New BSD License