Sha256: cb6c4f7bb7e858b7765a4730d9e3ad0c11be9c612b31dd6004171202335d9ba7

Contents?: true

Size: 695 Bytes

Versions: 3

Compression:

Stored size: 695 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_api_auth-0.2.0 README.md
spree_api_auth-0.1.1 README.md
spree_api_auth-0.1.0 README.md