Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
Christian Dallago edited this page Feb 20, 2016 · 1 revision

Description

Login

Method

POST

Position

http://example.net/api/login

HEAD

{"email" : "[email protected]", "password" : "hashedPassword"}

Results

200:
{"email" : "[email protected]", "password" : "hashedPassword"}
401
{"message" : "Invalid credentials"}
404
{"message" : "User not found"}
500
{"message" : "Error while logging in user"}
Clone this wiki locally