diff options
Diffstat (limited to 'python/README.md')
| -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 !!!' | 
