diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-23 12:27:55 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-23 12:27:55 +0200 |
commit | b5893bd42384aa8353f149d6ed16a4a31ea9aab2 (patch) | |
tree | ad1b1a85d12c3f688e940450ec65476270d6144a | |
parent | Updated README. (diff) | |
download | newspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.tar.gz newspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.tar.bz2 newspipe-b5893bd42384aa8353f149d6ed16a4a31ea9aab2.zip |
Updated README.
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |