localhost:8000/api/register/
HEADER: add key Content-Type and value application/json
BODY: add JSON like this:
localhost:8000/api/login/
BODY: adding the same body used to register and POST method
localhost:8000/api/user/
To you able to view the user detail, you need to pass the token like this: