title: Android Webview POST request
body: <p>I'm trying to do a post request with a WebView on Android.
  After searching for days and trying dozens of things i couldn't get it work. In SWIFT it's just a few lines of code so i thought there must also be a simple way to do a post request for a webview on android.
  As (for 2016) EncodingUtils and HTTPClient are deprecated this are my current approaches: </p>
  
  <pre><code>String url = "http://example.com/php.php";
  String postData = null;
  
  postData = "param1=" + URLEncoder.encode("1234567890", "UTF-8");
  
  webcontent.postUrl(url,postData.getBytes());
  //or
  webcontent.postUrl(url, Base64.encode(postData.getBytes(), Base64.DEFAULT));
  </code></pre>
  
  <p>Both just result in a blank screen. There is just one parameter to be sent and a string containing html from the server should be received.
  In addition, the php on the server returns a html-string with colored background irrespective of any input, but even this isn't displayed so maybe the whole request never reaches the server? 
  Thanks in advance!</p>