toontown-just-works/dev/tools/rpc/rpctest.py
2024-07-07 18:08:39 -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')