Hi everyone
i did not find any solution in the forum, so here is my problem :
For some users, server side script does not receive any GET request.
Here is my WebRequest :
var w3Api = "https://xxx/x.php";
var dataFromWebRequest ; // received datas
var options = {
:methods => Comm.HTTP_REQUEST_METHOD_GET,
:headers => {"Content-Type" => Comm.REQUEST_CONTENT_TYPE_URL_ENCODED, "key" => appVersion},
:responseType => Comm.HTTP_RESPONSE_CONTENT_TYPE_JSON
};
var params = {
"email" => Email,
"uuid" => uuId,
"apikey" => SerialKey,
"L" => L,
"G" => G
};
var _Request = [w3Api, params, options];
here is HTTP Headers when server receive GET request (no key so it is older app version, before i added "key"):
User-Agent: Mozilla/5.0 ( compatible ) Accept: application/json Content-Type: application/x-www-form-urlencoded X-app-ver: 5993 X-lang: vi Host: www.xxx.com Connection: Keep-Alive Accept-Encoding: gzip
(
here is http headers when receiving nothing ( else headers ):
Host: www.xxx.com Content-Type: application/x-www-form-urlencoded Accept: */* key: 1.0.6 User-Agent: ConnectMobile/33 CFNetwork/1240.0.4 Darwin/20.5.0 Accept-Language: zh-cn Accept-Encoding: gzip, deflate, br Connection: keep-alive
May it be about ConnectMobile / Darwin ?
(or, of course, from my WebRequest options...!)
(key is my app version to check if user updated app).
Any idea what's going wrong ?
Thanks for your help