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/http_client.py
2020-12-26 15:17:20 +00:00

11 lines
178 B
Python

import requests
import json
import proxy
def main():
response = proxy.http_call("/greeter", {"name": "John"})
print response.text
if __name__ == "__main__":
main()