aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-23 12:27:55 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-23 12:27:55 +0200
commitb5893bd42384aa8353f149d6ed16a4a31ea9aab2 (patch)
treead1b1a85d12c3f688e940450ec65476270d6144a
parentUpdated README. (diff)
downloadnewspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.tar.gz
newspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.tar.bz2
newspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.zip
Updated README.
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index ce804d89..6ec8a2a3 100644
--- a/README.rst
+++ b/README.rst
@@ -192,14 +192,14 @@ Add an article:
>>> print json.loads(r.content)["result"][0]["title"]
Sortie de pyAggr3g470r 5.3
>>>
- >>> r = requests.delete("https://pyaggr3g470r.herokuapp.com/api/v1.0/articles/84574", auth=("root@pyAggr3g470r.localhost", "password"))
+ >>> r = requests.delete("https://pyaggr3g470r.herokuapp.com/api/v1.0/articles/84574", auth=("your-email", "your-password"))
>>> print r.status_code
200
>>> print r.content
{
"message": "ok"
}
- >>> r = requests.delete("hhttps://pyaggr3g470r.herokuapp.com/api/v1.0/articles/84574", auth=("root@pyAggr3g470r.localhost", "password"))
+ >>> r = requests.delete("hhttps://pyaggr3g470r.herokuapp.com/api/v1.0/articles/84574", auth=("your-email", "your-password"))
>>> print r.status_code
404
>>> print r.content
bgstack15