server.js: remove postData handling and pass request to route