Cloud Functions for Firebase HTTP Request
问题 I want to send an HTTP Request from Android to a cloud function, post some values, then input these values into real time database. index.js const functions = require('firebase-functions'); exports.testPost = functions.https.onRequest((req, res) => { console.log(req.body); }); How can I accomplish this? 回答1: I see three steps in here: Calling a Cloud Function from Android . This is the same as calling any other HTTP URL from Android. See Calling a Cloud Function from Android through Firebase