-
-
Notifications
You must be signed in to change notification settings - Fork 18
REST API example
epicmonkey edited this page Sep 28, 2013
·
27 revisions
curl -d "username=test" -d "password=test" http://localhost:3000/v1/session
{ "err": null, "status": "success", "user": { "id": "ecad21a5-45be-4eb8-9398-db51415992fb", "username": "test", "info": { "screenName": "test", "email": "[email protected]", "receiveEmails": "0" } } }
curl -d "username=test" -d "password=test" http://localhost:3000/v1/signup { "err": null, "status": "success", "user": { "id": "f6f55f5d-c0b5-4fae-92e8-4d12b84fbe2d", "username": "test", "info": { "screenName": "test" } } }