mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-02-11 15:30:34 +03:00
Explicitly stated POST parameters for user API endpoint in README.md
This commit is contained in:
parent
e19377e093
commit
4db59642d5
|
@ -73,9 +73,12 @@ API endpoints with Authentication
|
|||
1. /rest\_accounts/logout/ - GET
|
||||
|
||||
2. /rest\_accounts/user/ - GET & POST
|
||||
- user as dictionary with id, email, first\_name, last\_name
|
||||
|
||||
- POST parameters
|
||||
|
||||
user as dictionary with id, email, first\_name, last\_name
|
||||
"user": {"id": 1, "first_name": "Person", "last_name": "2"}
|
||||
- user-defined UserProfile model fields
|
||||
user-defined UserProfile model fields
|
||||
|
||||
3. /rest\_accounts/password/change/ - POST
|
||||
- new\_password1
|
||||
|
|
Loading…
Reference in New Issue
Block a user