Can someone tell me how to use firebase-functions.https.onRequest() for GET method? So the problem is I want to have get url like : /getData/{type}/{id}
I have tried
exports.getProduct = functions.https.onRequest("/getProduct/{type}/{id}",(request, response) =>{});
But its still not working, what I can do with that snippet code is https://firebase-url/getProduct which I cant put some parameter.