Flask - WebSocket and Real-Time
What is the issue with this Flask polling endpoint code?
@app.route('/poll')
def poll():
data = {'count': 10}
return json.dumps(data)