From 4db59642d50045b52d960b5678da0fd6d55aac46 Mon Sep 17 00:00:00 2001 From: Silin Na Date: Wed, 30 Apr 2014 15:53:03 -0700 Subject: [PATCH] Explicitly stated POST parameters for user API endpoint in README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bbb875..a197961 100644 --- a/README.md +++ b/README.md @@ -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