Skip to content

User API endpoints

Vince-F edited this page Apr 14, 2018 · 2 revisions

User api endpoints

Note that the module exports an Express Router object so you can prefix the API endpoints by whatever you want. So this doc will only give you the end of the URL as the rest is up to you.

Create a user

URL suffix: /

Method: POST

Request body example:

{ "data":{ "login":"userTest", "password":"test", "email":"[email protected]" } }

Response example:

{ "result": { "login": "userTest", "password": "test", "email": "[email protected]" }, "success": true }

Clone this wiki locally