Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM22 - android] what wrong with HttpRequest()? (1 reply)

$
0
0
yesterday after upgrade to WM22 , I compile my app and deploy for testing.
strange error show up when it not suppose to be since it working fine on WM21

my app making httprequest to webservice , I get error BAD REQUEST.

today I try again , this time no bad request but my webservice return error "Unexpected token in JSON at position 1"

I suspect something strange is send to webservice . I run tcpdump to compare the app from WM21 and from WM22

-----------------from WM21
User-Agent: PC SOFT Framework
Accept-Encoding: gzip
Authorization: Basic ODNGOTU4MzUwN0U3OThGNzk0NDk2MjkwRTBEOUNCQTA6OURFNEE5NzQyNTY3OEM1QjEyODhBQTcwQzE2 NjlBNjQ=
Content-Type: application/json; charset=utf-8
Host: 192.168.43.172:3000
Connection: Keep-Alive
Content-Length: 359

{"CMD":"XE+BXMauMhQkEL9WwoPQ\/IUZMncKIJEcFWRUI4vhXjRL5psSOQf0P30Nqpwzz0gXTM66a3IGPZSRLTgoZwiSPisgyPea 6mPEFr+\/sNzrloUaKbcjT1NfWWClWOfqbXWVDiSRHdV2tfjXzfhQY2PdNoIjzCWjWmUxvoFLRd\/K8WNRa0NJHnhaHJjLBs9dbw7 aUmZTqr5Uhnhpjr5puq7Zxjf8Qblh9DNlqxpZYwIlcgcpHvlzdi7GGkGzR2FcoiFWL49AJ1oK0NZXNHTrBzEwUVHEjn6xy\/MAmU+ diN5R4xiU6ev7ox4b4VRaTPQlVxcUE3wp8govcVRH6GnsC\/ZTOQ=="}

-----------on WM22
Host: 192.168.43.172:3000
Authorization: Basic ODNGOTU4MzUwN0U3OThGNzk0NDk2MjkwRTBEOUNCQTA6OURFNEE5NzQyNTY3OEM1QjEyODhB QTcwQzE2NjlBNjQ=
User-Agent: myapp123
Accept: */*
Content-Type: application/json; charset=utf-8
Content-Length: 538
. Di 0..{.".C.M.D.".:.".o.N.q.Q.+.E.w.c.Y.c.U.e.a.R.j.6.h.8.n.+.e.H.7.l.X.G.n.9.9.\./.2 .1.B.q.E.q.E.4.b.C.U.r.2.A.M.A.W.C.s.f.0.R.y.b.p.Q.c.T.n.r.Q.W.I.h.2.Y.B.3.g.t.j.8.5.F.E.v.s. I.P.F.v.x.K.u.q.P.n.W.o.S.7.g.X.T.Z.\./.f.5.J.f.w.7.4.x.I.g.S.q.z.u.n.e.7.5.c.f.1.j.F.+.r.a.Z .e.n.t.W.W.P.x.V.b.6.Z.V.d.c.f.R.\./.y.9.J.c.P.x.h.F.7.7.E.Z.V.9.p.R.d.p.Q.s.8.B.q.o.7.T.Y.x. u.d.5.t.B.S.o.k.Y.k.5.p.I.F.w.d.B.b.X.J.y.A.X.A.H.S.V.U.+.j.I.v.y.S.B.V.D.2.n.o.Y.b.T.B.5.y.Z .b.N.H.y.w.9.u.c.v.m.8.f.o.l.S.E.T.A.L.r.B.Z.C.b.z.2.E.u.N.E.A.N.h.T.G.q.Q.d.F.s.M.".}.


if this is jokes from PCS , it ain't funny

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>