1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/examples/proxy/python/rpc_client.py

11 lines
182 B
Python
Raw Normal View History

2020-12-26 17:17:20 +02:00
import requests
import json
import proxy
def main():
response = proxy.rpc_call("/greeter/say/hello", {"name": "John"})
print response
if __name__ == "__main__":
main()