The HTTP API provided for the cloud functions mixes all HTTP methods into one API call:
functions.https.onRequest((req, res) => { ... });
This requires a switch to separate out the GETs, POSTs, PUTs and DELETEs. Is there a better way similar to the Express API:
app.get()
app.post()
app.put()
app.delete()
This will allow us to implement resource based endpoints more cleanly.