Skip to content Skip to sidebar Skip to footer

Call Firebase Cloud Function Via Get And Return Parameters

I have created this cloud function: exports.returnUid = functions.https.onRequest(async(req, res) => { const uid = req.query.uid res.send(uid) }); When I call https://&

Solution 1:

I've found out that when using firebase --serve, the function won't acept parameters. But when I deplpoy it, it does.


Post a Comment for "Call Firebase Cloud Function Via Get And Return Parameters"