Poodletooth-iLand/dev/tools/rpc/rpctest.py

5 lines
No EOL
132 B
Python

import pyjsonrpc
http_client = pyjsonrpc.HttpClient(url = 'http://localhost:8080')
print 'Connected'
print http_client.ping('test')