[google-appengine] Re: How to pass data from python backend to JavaScript client on Google App Engine?

2019-08-15 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Ray, As mentioned by Tiago, you will be better assisted on StackOverflow as Google Groups are more oriented towards general opinions, trends, and issues of general nature touching App Engine. On Thursday, August 15, 2019 at 3:3

[google-appengine] Re: How to pass data from python backend to JavaScript client on Google App Engine?

2019-08-15 Thread Ray Wong
Thanks for your reply! The previous way to get data using AngularJS $http. Some code is like this: dashboard_app.factory('DashboardDataFetching', function($location, $http) { return { 'GetArticleProgress': function(article_urlsafe, call_back) { $http.post("/_api/get_progress", JSON.str

[google-appengine] Re: How to pass data from python backend to JavaScript client on Google App Engine?

2019-08-13 Thread 'Tiago (Google Cloud Platform Support)' via Google App Engine
Thank you for using Google Groups! Passing data between a backend and frontend service differs depending on the language and/or framework you are using. Should you be adopting a RESTful backend architecture in Python such as Flask, you can define a route handler, hit it with a GET request using