title: Https POST / GET with Qml/Qt
body: <p>Recently I'm working on Nokia mobiles using Qt-Qml. I have to make a POST request to a given HTTPS Url. 
  I'm using QML and I'm trying to do it in Javascript without any luck.</p>
  
  <p>Anyone has an idea about it? It's possible to do it using Javascript in QML?
  Any advise on how to make it in QT?</p>
  
  <p>I tried calling a function like this:</p>
  
  <pre><code>var http = new XMLHttpRequest()
  var url = "myform.xsl_submit";
  var params = "num=22&amp;num2=333";
  http.open("POST", url, true);
  
  //Send the proper header information along with the request
  http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  http.setRequestHeader("Content-length", params.length);
  http.setRequestHeader("Connection", "close");
  
  http.onreadystatechange = function() {//Call a function when the state changes.
      if(http.readyState == 4 &amp;&amp; http.status == 200) {
          print("ok");
      }else{
                  print("cannot connect");
          }
  }
  http.send(params);
  </code></pre>