You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,15 +58,16 @@ Please Refer to the [Python Script Library documentation page](http://python-sdc
58
58
Transitioning from python to REST
59
59
---------------------------------
60
60
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.
62
62
63
63
- 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.
65
65
66
66
To log all the requests made by your script in significant detail, add to your script:
67
67
68
68
```python
69
69
import logging
70
+
import httplib
70
71
httplib.HTTPConnection.debuglevel =1
71
72
72
73
logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from requests
0 commit comments