Skip to content

camelmasa/spree_api_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Spree's Authentication API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages