http.ts
export const basicHTTP = functions.https.onRequest((request, response) => {
const name = request.query.name;
if (!name) {
response.status(400).send('ERROR you must supply a name :(');
}
response.send(`hello ${name}`);
});
export const basicHTTP = functions.https.onRequest((request, response) => {
const name = request.query.name;
if (!name) {
response.status(400).send('ERROR you must supply a name :(');
}
response.send(`hello ${name}`);
});
Ask questions via GitHub below OR chat on Slack #questions