Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android posturl https

hi i need to use this method but i get a white screen. if I use http instead https it works ok, but why? i need https :(

%%%%%% WORKS %%%%%%

String postData = "username=user&password=pass";
String url = "http://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));

%%%%% DOESN'T WORK

String postData = "username=user&password=pass";
String url = "https://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));
like image 231
Alexx Perez Avatar asked Sep 03 '26 10:09

Alexx Perez


1 Answers

Have you checked out this tutorial for an answer?

like image 108
Kurtis Nusbaum Avatar answered Sep 05 '26 00:09

Kurtis Nusbaum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!