From e44f182fcf51d0f169461c4a36647adb7324e8a9 Mon Sep 17 00:00:00 2001 From: Marko Tibold Date: Fri, 30 Dec 2011 18:52:15 +0100 Subject: [PATCH] typos --- docs/howto/usingurllib2.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/howto/usingurllib2.rst b/docs/howto/usingurllib2.rst index 8b655d455..a31bcc9bb 100644 --- a/docs/howto/usingurllib2.rst +++ b/docs/howto/usingurllib2.rst @@ -4,15 +4,15 @@ Using urllib2 Python's standard library comes with some nice modules you can use to test your api or even write a full client. -Here's an example which does a 'GET' on the `model-resource` examle +Here's an example which does a 'GET' on the `model-resource` example in the sandbox.:: - import urllib2 + >>> import urllib2 >>> r = urllib2.urlopen('htpp://rest.ep.io/model-resource-example') # You can check if the response was ok: >>> r.getcode() 200 - # Or examin the resonse itself: + # Or examin the response itself: >>> print r.read() [{"url": "http://rest.ep.io/model-resource-example/1/", "baz": "sdf", "foo": true, "bar": 123}]