Jump to top

HttpsCallable

interface

An HttpsCallable is a reference to a "callable" http trigger in Google Cloud Functions.

Example
// Create an HttpsCallable reference
const reference = firebase.functions().httpsCallable('order');

try {
 const response = await reference({
   id: '12345',
 });
} catch (e) {
 console.error(e);
}