Poodletooth-iLand/dev/tools/rpc/rpctest.py
2015-11-14 14:28:53 -05:00

5 lines
No EOL
132 B
Python

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