When then post request is finished on the server side, it should send a response back, like res.end('yes');