diff options
| author | Geremy Cohen | 2015-04-28 12:44:10 -0700 |
|---|---|---|
| committer | Geremy Cohen | 2015-04-28 12:44:10 -0700 |
| commit | c1a7123e7a7e53fc3f6f31ee0dabb272b0cfbfac (patch) | |
| tree | 60aac2d41ea8463c0c5c7eff445a2128b5c4daf8 | |
| parent | a5436bba1fe5a144c1f988460cb007f822425bad (diff) | |
| download | pubnub-python-post.tar.bz2 | |
Update README.mdpost
| -rw-r--r-- | python/README.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/README.md b/python/README.md index a48fb17..b8b44f1 100644 --- a/python/README.md +++ b/python/README.md @@ -28,10 +28,14 @@ pubnub.publish(channel, message, callback=callback, error=callback) ``` -publish supports POST method also. To use POST, pass post=True as parameter to publish method call. -Default method is GET +publish() also supports the POST method. To use POST, pass post=True as parameter to publish method call. +(Default method is GET). ``` +# similar example can be found in the examples dir +# in the examples directory, you can just run +# PYTHONPATH=../.. python publish_post.py + channel = 'hello_world' message = 'Hello World !!!' |
