Hi all.
I have this code in java:
translate in B4A is:
but this line
as it is translated in B4A ??
Thank you
Marco
I have this code in java:
B4X:
'HttpResponse<JsonNode> response = Unirest.post("https://xxxxxx/xxx-validate")
'.header("X-Mashape-Key", "7ikZQqUI6Fmsh5SwxxxqiwToAEUp1J16Cojsnf7nqE2KYfsqu")
'.header("Content-Type", "application/x-www-form-urlencoded")
'.header("Accept", "application/json")
'.field("number", "1-888-322-113333")
'.asJson();
translate in B4A is:
B4X:
Dim job1 As HttpJob
job1.Initialize("MyJob", Me)
job1.Download("https://xxxxxx/xxx-validate")
job1.GetRequest.SetHeader("X-Mashape-Key", "7ikZQqUI6Fmsh5Sw2lQfqiwxxx1J16Cojsnf7nqE2KYfsqu")
job1.GetRequest.SetHeader("Content-Type", "application/json")
job1.GetRequest.SetContentEncoding("text/plain")
but this line
B4X:
'.field("number", "1-888-322-113333")
as it is translated in B4A ??
Thank you
Marco