Skip to content

Users Backend Functions

Julian Poyourow edited this page May 17, 2015 · 1 revision

Still to be written! Hang with me here, this is tiring stuff.

$app->post('/login', 'userLogin'); $app->post('/join', 'userJoin');

$app->post('/friend/add', 'addFriend'); $app->post('/friend/accept', 'acceptFriend'); $app->post('/friend/decline', 'declineFriend'); $app->post('/friend/remove', 'removeFriend'); $app->post('/friend', 'getFriends');

$app->delete('/user', 'deleteUser'); $app->put('/user', 'updateUser'); $app->get('/user/:id', 'getUser');

$app->post('/users/string', 'stringSearch');

Clone this wiki locally