mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
Add examples
This commit is contained in:
10
examples/proxy/python/http_client.py
Normal file
10
examples/proxy/python/http_client.py
Normal file
@ -0,0 +1,10 @@
|
||||
import requests
|
||||
import json
|
||||
import proxy
|
||||
|
||||
def main():
|
||||
response = proxy.http_call("/greeter", {"name": "John"})
|
||||
print response.text
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in New Issue
Block a user