使用Node.js寫一個簡單的api接口. 然後我們可以在server.js中判斷一下,當請求的url是 /data 時,則返回data.json: if(url === '/data'){ fs.
確定! 回上一頁