title: Nodejs Ajax Call
body: <p>I was calling this function from javascript file. which was working perfect but now i want to call same function using Node js. please give me any alternate method. this function is use to insert data onclick event before.</p>
  
  <pre><code>function signup_validations_google(name_g,email_g,pass_g) 
  {
  xmlhttp = new XMLHttpRequest();
  xmlhttp.open("GET","http://localhost:8000/uri?name="+name+"&amp;email="+email+"&amp;pass="+pass, true);
  xmlhttp.onreadystatechange=function(){
      if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200){
          string=xmlhttp.responseText;
          alert("Registration successful");
      }
  }
  xmlhttp.send();
  </code></pre>
  
  <p>}</p>