Thanks for the reply. I reread the common methods document then ran a test (as an example). All values of textParser (true, false, none (default) result in a UTF8 stream. Next I will try varying return content-type. The type stated in the return by the Server is text/html. It is really a byte stream. (POOR coding in the server?)
Summary
testParser TRUE
Return is as an object that I then have to extract the data from it.
[
params:[
uri:http://192.168.50.70:80/app/handshake1,
body:UBgW4QQ9keGpYRgf,
textParser:true],
data:java.io.InputStreamReader@1557a2a,
encoding:UTF8,
parsedData:���Q��ބ����]#0;�u�����x�C; 9��2�3w�X,
dataArray:[-3, -3, -3, 28, 81, -3, -3, 30, -124, -3, 30, 29, -3, -3, 31, -3, 93, 35, 48, 19, 59, -3, 11, 117, -3, -3, -3, -3, 8, -3, 120, -3, 67, 59, 9, 20, 57, -3, 8, -3, 50, -3, 51, 119, -3, 88, 25, 0]
]
Note: The array elements "-3" are the UTF-8 translation of a non-printable character.
textParser: FALSE (default value)
Returns parsed data.
[
params:[
uri:http://192.168.50.70:80/app/handshake1,
body:Sd6dAbW4PVtfMubA,
textParser:false],
data: �t���w֥v��$w�|�<V�$�;jIȝ2���b�Dv��ymC,
dataArray:[16, 32, -3, 116, -3, -3, -3, 119, 19, -91, 118, -3, -3, 36, 119, 19, -3, 124, -3, 26, 0, 60, 4, 86, -3, 36, -3, 59, 106, 73, 29, 50, -3, -3, -3, 98, -3, 68, 118, -3, -3, 3, 121, 109, 67]]
Note that dataArray version verifies that the unpritable characters are changed to "-3"