POST /register
Request Body
{
"username": "...",
"password": "..."
}
Response
{
"email": "...",
id: 420
}
POST /login Request Body
{
"username": "...",
"password": "..."
}
Response
{
"email": "...",
id: 420
}
GET /{username}/followers
Response
["patrick", "pratham", "ishaan", ...]
POST /follow/{follower}/{followed}
Response
"OK"
POST /unfollow/{follower}/{followed}
Response
"OK"