I have a Flask Python Server using a Celery Once worker to collect and format some data based on a query from the user. I have a page, created with the EmberJS CLI 2.5, which needs to send that query to my flask server as well as poll my server and to the current status of my Celery Once worker.
Can somebody point me in the right direction of how I can periodically make calls to my python server from my ember js page to pull the data like an ajax query? Or perhaps have my controllers poll the data and pass it into the component without refreshing the page?
I have all the building blocks set up in my EmberJs project, and I have all the data able to be served as JSON on my Flask project, but I just can't seem to connect the two together.
Sadly, my google searches have all resulted in old versions of EmberJS which no longer seem to work with the current version.
Aucun commentaire:
Enregistrer un commentaire