Skip to content

Commit c3c2e15

Browse files
author
Phil Rzewski
committed
Wording changes in README and include httplib import
1 parent 05db930 commit c3c2e15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,16 @@ Please Refer to the [Python Script Library documentation page](http://python-sdc
5858
Transitioning from python to REST
5959
---------------------------------
6060

61-
If your goal is to interact with the REST API directly, you can get there from the python library by logging the actions it takes. This is useful because a full documentation of the REST API has not yet been created; and also provides a complete example of a working sequence.
61+
If your goal is to interact with the REST API directly, you can use this python client library to easily understand the REST interactions by logging the actions it takes. This is useful because full documentation of the REST API has not yet been created; and also provides a complete example of known working operations.
6262

6363
- Use or modify an example, or write a new script against the python sdcclient module.
64-
- Log the http requests made by the script.
64+
- Log the HTTP requests made by the script.
6565

6666
To log all the requests made by your script in significant detail, add to your script:
6767

6868
``` python
6969
import logging
70+
import httplib
7071
httplib.HTTPConnection.debuglevel = 1
7172

7273
logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from requests

0 commit comments

Comments
 (0)