title: Sending URL with Nodejs and Get Response
body: <p>Hey guys can someone help me with that issue</p>
  
  <p>im new on node.js and im studing and starting a project.</p>
  
  <p>what i need to do is:</p>
  
  <p>i need to send an url to a webservice and get the response from the webservice, for example:</p>
  
  <p>i send <a href="http://www.webservice.com.br/getserver?user=myuser&amp;password=mypassword" rel="nofollow">http://www.webservice.com.br/getserver?user=myuser&amp;password=mypassword</a></p>
  
  <p>after that the webservice will give me a response at his page a succes/error message or a new url for login example <a href="http://history.webservice.com.br" rel="nofollow">http://history.webservice.com.br</a> </p>
  
  <p>so i need to get the response after sending an url someone know how can i do that with node.js ? </p>
  
  <p>in php would be something like that
  /*
   * $sendurl = "myUrlHere";
   * $getserver = file($sendurl);
   * var_dump($getserver);
   */</p>
  
  <p>in this php example i send the url and i get the response withou leaving my page.</p>
  
  <p>if someone know how i do that in node or give me a way i will appreciate.</p>
  
  <p>Thank you so much.</p>