Hey George, First off, I'll say I'm glad you've taken the time to provide such detailed explanation of what steps you've followed. You'd be surprised how often this level of detail (the minimum really needed to properly analyze an issue) is not given, so thank you very much for that! This should be an example post for other users!
Second, usually specific-issue technical support questions like this should be handled at Stack Overflow on one of our related tags. We monitor there just as consistently as this forum, while this one is both A) less supplied with other helpful users and B) not intended for this 1-on-1 format of support. So, you might consider posting questions like this there in the future, or even posting there now, but after we gather some more information necessary to look deeper. My initial thought about what might be going wrong is that it's difficult to determine without seeing any code. You should gather the code in the endpoints method so we can see why it is that it might return 200 yet fail to write an entity. Cheers, Nick Cloud Platform Community Support On Wednesday, February 8, 2017 at 10:45:52 AM UTC-5, George Sxi wrote: > > Hello everyone! > > I would like to pose the following question.. > > I have successfully created a sample backend using cloud endpoints > frameworks which simply performs a REST call using POST and writes a value > in a Firebase folder. > In order to do this: > 1) i used the "Hello Endpoints" sample which is created when you add the > module in android studio as a starting point. > 2) After importing the relevant libraries, annotating the API and adding > the extra functionality I run the backend in my localhost > 3) To test the process I used the API explorer *locally* and passed a > value in the "name" field using "Execute without OAuth" > 4) Regardless of the value passed the process should write the same value > in Firebase. > > Up to this point everything worked like a charm. > > The next step was to try and deploy the backend on Google App Engine and > try it from there. > Using the "*Deploy Module to app engine*" option from Android studio the > backend was successfully deployed on App Engine Standard and started > serving requests. > > Now doing the exact same thing when I try to use the cloud platform API > explorer (with the myapp.appspot.com link )to test the API I get the > 200OK http answer to my POST but the Firebase entry is not written. > > Can anyone provide some insight into this?? > > Since it is working properly in the localhost deployment but not when > deployed on App Engine I suspect something is happening access-wise but I > cannot find it.. > > Please note that I have also tried it with public read/write Firebase > rules and by using the "*authorize and execute"* option in API explorer. > > Happy to provide any additional info if required. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/71588361-e137-44af-baf1-fcd83b69740a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
