nesh170 / asap-inventory-system

This is a concept inventory system for ECE458. It is built by ASAPsolutions
1 stars 0 forks source link

added a current user api #56

Closed nesh170 closed 7 years ago

nesh170 commented 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" }