title: Using Node JS to proxy http and modify response
body: <p>I'm trying to write a front end to an API service with Node JS.</p>
  
  <p>I'd like to be able to have a user point their browser at my node server and make a request.  The node script would modify the input to the request, call the api service, then modify the output and pass back to the user.</p>
  
  <p>I like the solution here (with Express JS and node-http-proxy) as it passes the cookies and headers directly from the user through my site to the api server.</p>
  
  <p><a href="https://stackoverflow.com/questions/7075577/proxy-request-in-node-js-express">proxy request in node.js / express</a></p>
  
  <p>I see how to modify the input to the request, but i can't figure out how to modify the response.  Any suggestions?</p>