-
Created by
user-5ad4e, last updated on Nov 06, 2020
1 minute read
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
The server ip-address:port is http://3.232.82.82:5000
| URL | /api/login/ |
| Method | POST |
| Url Param | |
| Request Body Data | - HTML Form Submission with fields:
- email (string)
- password (string)
- remember_me (optional boolean)
- Alternatively, you can manually add following fields in request body as a json format:
- email (string)
- password (string)
- remember_me (optional boolean)
- formdata (empty string)
|
| Response | - Logged in. - 200
- Bad request format - 400
- invalid credential(s) provided, please check your credential(s) and try again - 400/401
|
| Cookie | - session: a cookie for trace login status
- remember_token: a cookie for remember_me feature (only when logged in with remember_me set to true)
|