1
有人能告訴我如何使用firebase-functions.https.onRequest()進行GET方法嗎? 所以,問題是我想有獲取URL,如:/的getData/{類型}/{ID}GET方法使用Firebase HTTPS雲功能
我已經試過
exports.getProduct = functions.https.onRequest("/getProduct/{type}/{id}",(request, response) =>{});
但它仍然沒有工作,我可以與片段做代碼是https://firebase-url/getProduct,我不能放一些參數。
道歉劫持此帖子。我注意到你在firebase工作,並想知道你是否可以幫助我在這裏:https://stackoverflow.com/questions/45600367/firebase-cloud-function-error-could-not-handle-the-request – JamesG