All Questions
224
questions
1
vote
2
answers
56
views
Requests failing when made to service URL, but not to version url
I'm trying to set up a service on Google App Engine, but am having trouble getting XmlHttp to work consistently with it.
After deploying, the website can be accessed from 2 different urls: service-dot-...
0
votes
1
answer
102
views
Passing Data from App Engine to Compute Engine
I have built an full stack MERN app and deployed it with App Engine. The app uploads data to a google Cloud Storage bucket where an AI program running on a Compute Engine analyzes the files and places ...
0
votes
1
answer
1k
views
"400 RecognitionAudio not set" & "InactiveRpcError" [Google text to speech API]
I would like to realize this.
A user speaks to a web browser.
A web browser record his voice as WAV file(Recorder.js) and send it to a server (Google App Engine Standard environment Python 3.7).
...
1
vote
1
answer
126
views
"dependent drop down list" does't work [Flask on Google App Engine]
I'm a beginner in coding. I would like to make a simple web application using Google Cloud Text to Speech API.
a web site with a text box
you input a sentence in the text box and click a button "...
0
votes
0
answers
67
views
Fetching Python Google Users API query in webapp2 returns None
I'm trying to use a React-based frontend to connect to some endpoints hosted by webapp2 using Python and Google App Engine. For the initial authentication page, I'm using the Google Users API. For ...
1
vote
1
answer
100
views
Use web push in appengine
I'm trying to use HTML5 Web Push in my appengine web app. I got the front-end working, and am even able to get the subscription data with ajax and store it in my db, and then retrieve it when the ...
-1
votes
1
answer
136
views
Returning a valid JSON object which is to be handled by JS promise
My intention is to return a list of entities in JSON format which is then handled by the client-side JS using Promises.
I am returning a JSON object like this:
from webapp2_extras import json
class ...
2
votes
2
answers
2k
views
How to get any url to work for STATIC FILES with app.yaml in GAE?
I have a create-react-app Build directory, put it on Cloud Storage, added an app.yaml file in as well:
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /
static_files: build/...
3
votes
2
answers
122
views
Best practice for loading webpage with long server side script
What is the current best practice and method of loading a webpage (that has 10 - 15 seconds worth of server side script).
User clicks a link > server side runs > html page is returned (blank
page ...
0
votes
1
answer
2k
views
Javascript file not found / ERR_ABORTED
I'm creating a javascript file that interacts with Trello API but when I run the file this is what it says in Chrome dev tools:
GET http://localhost:8080/js/trello.js net::ERR_ABORTED
GET http://...
0
votes
1
answer
392
views
Cross Origin Request Blocked - Create entity GAE datastore
I am following this Google Firebase Tutorial: https://cloud.google.com/appengine/docs/standard/python/authenticating-users-firebase-appengine
I'm at the last part where it adds the note to the ...
0
votes
0
answers
74
views
Redirect function stops working after I implemented an AJAX function for the Post request
After I make a POST to the GAE, I want to render the HTML page that will display the data I just posted. Thus in the POST request, at the end, I call a GET request with the entity ID. It worked ...
6
votes
2
answers
16k
views
How to send data from JavaScript to Python
I am using GAE for web development, on jinja2 and python2.7
I can get data from Python. But I failed to send data from JavaScript to Python. Here is the JavaScript code:
function toSave() {
var ...
0
votes
1
answer
119
views
Storing a Javascript Object in GAE using Jinja2
What is the easiest way to save a javascript object to GAE datastore (Python) through Jinja2? I tried looking in the Jinja2 documentation, but I couldn't find any relevant info. See below for my code ...
1
vote
0
answers
303
views
Convert GQL query into JSON and Saving back to GAE Database
I try to fetch datas from database and show datas in the webpage, and save the comments back to databse.
I use Python to building the sever and Google App Engine Database as my database because I ...