My Android application makes two GET calls for my server API. In the first case, this is where the code
parameter is a string of 256 char.
$.getJSON( myServerEndpoint, { action: "doStuff1", username: $("#username").val(), code: my256charString, format: "json" }) .done(function( data ) { doStuff2Response(data); });
The second is the one where the code
parameter is a 5120 char string. Both users reach the same server endpoint.
$.getJSON( myServerEndpoint, { action: "doStuff2", username: $("#username").val(), code: my5120CharString, format: "json" }) .done(function( data ) { doStuff2Response(data); });
When I call them both from the same device and the same user connected to Wi-Fi or most mobile data providers, it works fine.
However, when I connect from the Vodafone data connection, the second request never reaches the server. I can not find another explanation, except that there is a limit on the length of the parameters using Vodafone.
Any ideas or solutions?
source share