Using res.send() for sending the response in nodeJs
<p>I'm a beginner in nodeJs, I have created node server and write simple program, Sending the response I am using "response.end('some text')" working fine, but instead of using 'end' if I am trying to send response using 'send', then its throwing error "response.send is not a function."  </p>