評分:0, 年:0, 月:0, 週:0, 日:0, [+1 / -1] 最後更新:2018-07-26 22:54:39
exports.helloWorld = functions.https.onRequest((request, response) => {
cors(request, response, function(){
var key = location.search.split("?");
key = key[1];
console.log('Hello from Firebase!');
response.status(201).json({result:'Hello from Firebase!', key: key});
})
});
島民 請問API中如何從網址取得參數啊?
paper中找不到,GOOGLE也沒有......