Auth Router - adamstelle/abba GitHub Wiki

POST /api/signup

This route is what allows an user to sign up in our app.

Expected Headers:

{ 
  "x-powered-by": "Express",
  "content-type": "text/html; charset=utf-8",
  "content-length": 205,
  "etag": "W/'cd-5gAhnPzDK6zmi72QxQa7OQ'",
  "date": "Thu, 13 Oct 2016 21:52:55 GMT",
  "connection": "close",
} 

Expected Body:

{}
  

GET /api/login

This route is what allows an user to login in our app.

Expected Headers:

{ 
  "x-powered-by": "Express",
  "content-type": "text/html; charset=utf-8",
  "content-length": 205,
  "etag": "W/'cd-QDbR7TEvQsjCW/jZicuGug'",
  "date": "Thu, 13 Oct 2016 21:56:39 GMT",
  "connection": "close", 
} 

Expected Body:

{}