-
Notifications
You must be signed in to change notification settings - Fork 0
API
Ted Benson edited this page Jan 11, 2017
·
2 revisions
To auth an request, include the header
Authorization: Bearer tokenvalue
POST https://cloudstitch.com/api/1/login
Headers:
-
User-Agent=cloudstitch-cliBody: - username|email and password
On succsess
{ "token": "XXX" }On failure
{ "error": true, "message": "Some reason here." }The message will be appropriate for displaying to user.
POST https://cloudstitch.com/api/1/signup
Headers:
-
User-Agent=cloudstitch-cliBody: - username, email, and password
On succsess
{ "token": "XXX" }On failure
{ "error": true, "message": "Some reason here." }The message will be appropriate for displaying to user.