SHARE
TWEET

Untitled

a guest Jun 16th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. app.post('/race', function(req,res) {
  2.   let raceResponse = {
  3.     user_name: req.body.userName
  4.   }
  5.   console.log(raceResponse);
  6.   console.log('Express has received race.');
  7.  
  8.   res.sendFile(path.join(__dirname, '/client/race/index.html'));
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top