StemboltHQ/solidus_api_auth

Name: solidus_api_auth

Owner: Stembolt

Description: Spree's Authentication API

Created: 2018-03-02 18:41:11.0

Updated: 2018-03-02 18:41:21.0

Pushed: 2016-10-28 03:11:46.0

Homepage: https://rubygems.org/gems/spree_api_auth

Size: 33

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Spree Api Auth

Spree's Rest API add authentication API.

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

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
$ 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
Testing

Coding now.

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

Updated to support Spree v2.4.1 by Sanad Liaquat (sanadhussain@gmail.com)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.