☎️ Call a Callable Function

How to Call a Callable Function from your Frontend Code

file_type_js foo.js
document.addEventListener('DOMContentLoaded', function() {

    let app = firebase.app();


    const sendText = firebase.functions().httpsCallable('sendText');

    sendText({ message: 'Hello World!' })
});

Questions? Let's chat

Open Discord