Hello everyone,
I have some problems with HttpClient and its method ExcecuteCredentials.
Have a look at this example.
B4X:
Dim HC As HttpClient
Dim req As HttpRequest
HC.Initialize("hc")
req.InitializeGet("http://www.prova.com/index.php?test='hello'")
HC.Execute(req,1)
in my index.php to obtain "hello" i can use $_GET['test']
B4X:
Dim HC As HttpClient
Dim req As HttpRequest
HC.Initialize("hc")
req.InitializeGet("http://www.prova.com/index.php?test='hello'")
HC.ExecuteCredentials(req,1,"admin","root")
using this code with ExecuteCredentials how can i obtain "admin" and "root" in my index.php?