title: How to send the http post request in SWIFT?
body: <p>Please correct this code</p>
  
  <pre><code>@IBAction func registeruser(sender: AnyObject) {
      let usertext = useremail.text;
  
      let myURL = NSURL(string: "http://advaluead.com/vishwa/index.php");
      let request = NSMutableURLRequest(URL:myURL!);
      request.HTTPMethod = "POST";
  
      let poststring = "email=\(usertext)";
      request.HTTPBody = poststring.dataUsingEncoding(NSUTF8StringEncoding);
  
  }
  </code></pre>
  
  <p>My server is not getting any request from the App.</p>