For new User
Signup with username and password, you will receive a token which u will have to provide in the header of subsequent requests at /api gateway
POST
/auth/signup
curl \
-X POST http://api.example.com/auth/signup \
-d '{"password":"string","username":"harshtalks"}'
Request example
{
"password": "string",
"username": "harshtalks"
}
Request examples
{
"password": "string",
"username": "harshtalks"
}
Response examples (400)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (400)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (403)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (403)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (404)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (404)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (500)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}
Response examples (500)
{
"message": "internal server error",
"status": "error",
"status_code": 500
}