Closed app-generator closed 3 years ago
API URL : http://localhost:5000/api/users/register
http://localhost:5000/api/users/register
Request Headers
application/json
Request Body
{ "username":"test", "password":"pass", "email":"test@appseed.us" }
Response for success
{ "success": true, "userID": "1", "msg": "The user was succesfully registered" }
Response for failure - email already taken
{ "success": false, "msg": "Email already taken" }
API URL :
http://localhost:5000/api/users/register
Request Headers
application/json
Request Body
Response for success
Response for failure - email already taken