title: Send XML via HTTP post request via Swift 2.0
body: <p>Hello Everybody I am trying to send XML as parameter by HTTP request,but cause of
  <code>dataUsingEncoding(NSUTF8StringEncoding)</code> my request  string was failure.
  Here is my code:</p>
  
  <pre><code>    let xmlRequest = "&lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
  &lt;response operation="getAccounts" handler="aphena"&gt;
      &lt;Id&gt;11536502&lt;/Id&gt;
      &lt;getAccountsParameters&gt;
          &lt;client&gt;654&lt;/client&gt;
      &lt;/getAccountsParameters&gt;
  &lt;/response&gt;"
      let requestXmlData = xmlRequest.dataUsingEncoding(NSUTF8StringEncoding)
      let url = NSURL(string:"http://115.70.40.118:5800/mobile_bank/api")!
      let request = NSMutableURLRequest(URL: url)
      request.HTTPMethod = "POST"
      request.HTTPBody = requestXmlData!
  </code></pre>
  
  <p>In server I got this cod:</p>
  
  <pre><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?&gt;\n&lt;response operation=\"getAccounts\" handler=\"aphena\"&gt;\n\t&lt;Id&gt;11536502&lt;/Id&gt;\n\t&lt;getAccountsParameters&gt;\n\t\t&lt;client&gt;654&lt;/client&gt;\n\t&lt;/getAccountsParameters&gt;\n&lt;/response&gt;
  </code></pre>
  
  <p>How can I solve this problem?</p>