github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/proxy/python/http_client.py (about)

     1  import requests
     2  import json
     3  import proxy
     4  
     5  def main():
     6      response = proxy.http_call("/greeter", {"name": "John"})
     7      print response.text
     8  
     9  if __name__ == "__main__":
    10      main()