Flask: Echo GET - client



curl http://localhost:5000/
curl http://localhost:5000/echo?text=Sanch+Panza


examples/flask/echo_get/client.py
import requests

res = requests.get('http://localhost:5000/')
print(res.status_code)
print(res.text)

res = requests.get('http://localhost:5000/echo?text=Hello World!')
print(res.status_code)
print(res.text)