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.