From c1a7123e7a7e53fc3f6f31ee0dabb272b0cfbfac Mon Sep 17 00:00:00 2001 From: Geremy Cohen Date: Tue, 28 Apr 2015 12:44:10 -0700 Subject: Update README.md --- python/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'python/README.md') 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 !!!' -- cgit v1.2.3