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/4364997f-5d68-40c7-a6a3-9e591c35cf88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] E... George Sxi
    • [google-appengi... 'Nick (Cloud Platform Support)' via Google App Engine
      • [google-app... George Sxi
        • [google... 'Nick (Cloud Platform Support)' via Google App Engine
          • [go... George Sxi
            • ... 'Nick (Cloud Platform Support)' via Google App Engine
              • ... George Sxi
                • ... 'Nick (Cloud Platform Support)' via Google App Engine

Reply via email to