added postServer.js, which uses post requests