Skip to content

jmeyers44/spree_api_auth

Repository files navigation

Spree Api Auth

Spree's Rest API add authentication API.

$ /api/v1/users/sign_up
$ /api/v1/users/sign_in

Example

$ curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"spree_user":{"email":"[email protected]", "password":"camelmasa", "password_confirmation":"camelmasa"}}' http://localhost:3000/api/v1/users/sign_up
$ curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"spree_user":{"email":"[email protected]", "password":"camelmasa"}}' http://localhost:3000/api/v1/users/sign_in

Testing

Coding now.

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

Updated to support Spree v2.4.1 by Sanad Liaquat ([email protected])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages