Closed nesh170 closed 7 years ago
Request (GET or DELETE) (GET OR DELETE) /api/user/ HTTP/1.1 Host: localhost:8000 Content-Type: application/json Authorization: Bearer
Response: { "id": 1, "username": "admin", "email": "test@test.com", "is_staff": true, "last_login": "2017-02-07T01:25:11.797924Z", "date_joined": "2017-02-01T04:02:40.863803Z" }
Request (GET or DELETE) (GET OR DELETE) /api/user/ HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Authorization: Bearer
Response: { "id": 1, "username": "admin", "email": "test@test.com", "is_staff": true, "last_login": "2017-02-07T01:25:11.797924Z", "date_joined": "2017-02-01T04:02:40.863803Z" }