Closed nesh170 closed 7 years ago
1) Get current user GET /api/user/current/ HTTP/1.1 Host: localhost:8000 Content-Type: application/json Authorization: Bearer
{ "id": 1, "username": "admin", "email": "test@test.com", "is_staff": true, "last_login": "2017-02-02T07:43:29.382006Z", "date_joined": "2017-02-01T04:02:40.863803Z" }
1) Get current user GET /api/user/current/ HTTP/1.1 Host: localhost:8000 Content-Type: application/json Authorization: Bearer
{ "id": 1, "username": "admin", "email": "test@test.com", "is_staff": true, "last_login": "2017-02-02T07:43:29.382006Z", "date_joined": "2017-02-01T04:02:40.863803Z" }