title: Curl POST with data and Node server with Express
body: <p>I'm sending a curl POST request on an AppleScript request. It sends data with the following text: "house,dog,plant". However, on my node server I just read: "house"</p>
  
  <p>Any idea why? Thanks!</p>
  
  <p>Applescript:</p>
  
  <pre><code>set testText to "house,dog,plant"
  
          do shell script "curl -X POST -d words=" &amp; testText &amp; " http://localhost:3000/comments"
  </code></pre>
  
  <p>Node server with Express:</p>
  
  <p>exports.getSlideComments = function(req, res) {</p>
  
  <pre><code>console.log("ENTERED POST");
  
  console.log (req.body.words); // It just prints house
  
  res.send('200');
  </code></pre>
  
  <p>};</p>