Created
December 20, 2018 14:02
-
-
Save ahaverty/86b6edae5d4afaa824ba2030bd8d3ba2 to your computer and use it in GitHub Desktop.
Simple Firebase Function Https
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const firebaseFunctions = require("firebase-functions"); | |
let testHttpsFunction = firebaseFunctions.https.onRequest((req, res) => { | |
console.log("This ran successfully"); | |
res.send(200); | |
}); | |
exports.testHttpsFunction = testHttpsFunction; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment