title: Using Postman to test my node.js program
body: <p>I'm using Chrome's extension Postman to test my Node.js(express module) program. Basically, I want my program to allow user input on Postman and retrieves information from somewhere in my program based on the user input. </p>
  
  <p>So the program takes in my user input via Postman(raw code), say </p>
  
  <pre><code>    [{ID:0, image:tiger.jpg},
       {ID:1, image:cat.jpg},
       {ID:2, image:dog.jpg}]
  </code></pre>
  
  <p>Then my code will process the user input's ID's only(regardless of the images), and get the string of objects associated with these 3 ID's. After getting the string, my program will send an HTTP request to print the objects retrieved to my localhost server. How would I be able to achieve this using express's POST and GET method. When to use post/get? Do I use post to receive input? and use get to retrieve data from program?</p>
  
  <p>Below are some functions I was thinking of including..</p>
  
  <pre><code>    app.post('/', express.bodyParser(), function (req, res) {
  </code></pre>
  
  <p>Someone suggested this. Can someone tell me if whether or not this function can receive input from Postman? I noticed this method might change req.body? But I don't really understand how it changes and parses the input. </p>
  
  <p>There were way too many questions, and I apologize in advance. Basically, I just need to know how to write the program given that description, and I shall figure out the rest myself!</p>
  
  <p>Thanks!</p>