Modify app.js to use POST but failed