Skip to content

Commit

Permalink
added json example for doc #601
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Letter committed Mar 10, 2016
1 parent 4b7bc36 commit 39bd02b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/POST-login.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,20 @@ POST Login Function
Accept: */*
User-Agent: python-requests/1.2.0 CPython/2.7.3 Linux/2.6.32-358.2.1.el6.x86_64
content-type: application/json
Authorization: Basic c2x5Y2F0OnNseWNhdA==

{"name": "username", "description": ""}
{
"user_name":"slycat",
"password":"slycat",
"location":{
"href":"https://192.168.99.100/login/slycat-login.html",
"origin":"https://192.168.99.100",
"protocol":"https:",
"host":"192.168.99.100",
"hostname":"192.168.99.100",
"port":"",
"pathname":"/login/slycat-login.html",
"search":"","hash":""}
}

**Sample Response**

Expand Down

0 comments on commit 39bd02b

Please sign in to comment.