post请求不能返回数据。

get 请求可以返回数据,post 没有数据体返回,请求是成功的。

attachments-2018-09-aZwKlB3Q5b9f5a646ff5d.png

[2018-09-17 15:33:37.085]: [I]-[wdt.taskWdt]AirM2M <-- WatchDog : OK

[2018-09-17 15:33:59.146]: [I]-[ril.proatc]

[2018-09-17 15:33:59.152]: [I]-[ril.proatc]CALL READY

[2018-09-17 15:33:59.157]: [I]-[ril.defurc]CALL READY

[2018-09-17 15:33:59.161]: [I]-[ril.proatc]

[2018-09-17 15:33:59.165]: [I]-[ril.proatc]+CREG: 1,"311D","F7B2"

[2018-09-17 15:33:59.169]: [I]-[ril.sendat]AT+CSQ

[2018-09-17 15:33:59.173]: [I]-[ril.proatc]

[2018-09-17 15:33:59.175]: [I]-[ril.proatc]+CSQ: 24,0

[2018-09-17 15:33:59.181]: [I]-[ril.proatc]

[2018-09-17 15:33:59.183]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.186]: [I]-[ril.sendat]AT+CENG?

[2018-09-17 15:33:59.190]: [I]-[ril.proatc]

[2018-09-17 15:33:59.191]: [I]-[ril.proatc]+CENG:1,1

[2018-09-17 15:33:59.192]: [I]-[ril.proatc]+CENG:0,"0632,24,99,460,00,02,63410,15,00,12573,00"

[2018-09-17 15:33:59.212]: [I]-[ril.proatc]

[2018-09-17 15:33:59.215]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.218]: [I]-[ril.sendat]AT+CIICRMODE=2

[2018-09-17 15:33:59.219]: [I]-[ril.proatc]

[2018-09-17 15:33:59.222]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.225]: [I]-[ril.defrsp]AT+CIICRMODE=2trueOKnil

[2018-09-17 15:33:59.228]: [I]-[ril.sendat]AT+CIPMUX=1

[2018-09-17 15:33:59.238]: [I]-[ril.proatc]

[2018-09-17 15:33:59.240]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.242]: [I]-[ril.defrsp]AT+CIPMUX=1trueOKnil

[2018-09-17 15:33:59.247]: [I]-[ril.sendat]AT+CIPHEAD=1

[2018-09-17 15:33:59.250]: [I]-[ril.proatc]

[2018-09-17 15:33:59.253]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.257]: [I]-[ril.defrsp]AT+CIPHEAD=1trueOKnil

[2018-09-17 15:33:59.260]: [I]-[ril.sendat]AT+CIPQSEND=0

[2018-09-17 15:33:59.267]: [I]-[ril.proatc]

[2018-09-17 15:33:59.269]: [I]-[ril.proatc]OK

[2018-09-17 15:33:59.274]: [I]-[ril.defrsp]AT+CIPQSEND=0trueOKnil

[2018-09-17 15:33:59.276]: [I]-[ril.sendat]AT+CGATT?

[2018-09-17 15:33:59.284]: [I]-[ril.proatc]

[2018-09-17 15:33:59.286]: [I]-[ril.proatc]+CGATT: 0

[2018-09-17 15:33:59.294]: [I]-[ril.proatc]

[2018-09-17 15:33:59.297]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.279]: [I]-[ril.sendat]AT+CGATT?

[2018-09-17 15:34:01.303]: [I]-[ril.proatc]+CGATT: 1

[2018-09-17 15:34:01.309]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.317]: [I]-[ril.proatc]

[2018-09-17 15:34:01.321]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.327]: [I]-[ril.defrsp]AT+CIPSTATUStrueOKnil

[2018-09-17 15:34:01.330]: [I]-[ril.proatc]

[2018-09-17 15:34:01.334]: [I]-[ril.proatc]STATE: IP INITIAL

[2018-09-17 15:34:01.338]: [I]-[link.STATE]IP STATUSIP INITIAL

[2018-09-17 15:34:01.344]: [I]-[ril.proatc]

[2018-09-17 15:34:01.345]: [I]-[ril.proatc]C: 0,,"","","","INITIAL"

[2018-09-17 15:34:01.347]: [I]-[ril.defurc]C: 0,,"","","","INITIAL"

[2018-09-17 15:34:01.349]: [I]-[ril.proatc]C: 1,,"","","","INITIAL"

[2018-09-17 15:34:01.351]: [I]-[ril.defurc]C: 1,,"","","","INITIAL"

[2018-09-17 15:34:01.353]: [I]-[ril.proatc]C: 2,,"","","","INITIAL"

[2018-09-17 15:34:01.355]: [I]-[ril.defurc]C: 2,,"","","","INITIAL"

[2018-09-17 15:34:01.358]: [I]-[ril.proatc]C: 3,,"","","","INITIAL"

[2018-09-17 15:34:01.361]: [I]-[ril.defurc]C: 3,,"","","","INITIAL"

[2018-09-17 15:34:01.363]: [I]-[ril.proatc]C: 4,,"","","","INITIAL"

[2018-09-17 15:34:01.364]: [I]-[ril.defurc]C: 4,,"","","","INITIAL"

[2018-09-17 15:34:01.367]: [I]-[ril.proatc]C: 5,,"","","","INITIAL"

[2018-09-17 15:34:01.368]: [I]-[ril.defurc]C: 5,,"","","","INITIAL"

[2018-09-17 15:34:01.371]: [I]-[ril.proatc]C: 6,,"","","","INITIAL"

[2018-09-17 15:34:01.375]: [I]-[ril.defurc]C: 6,,"","","","INITIAL"

[2018-09-17 15:34:01.377]: [I]-[ril.proatc]C: 7,,"","","","INITIAL"

[2018-09-17 15:34:01.378]: [I]-[ril.defurc]C: 7,,"","","","INITIAL"

[2018-09-17 15:34:01.381]: [I]-[ril.sendat]AT+CSTT="CMIOT","",""

[2018-09-17 15:34:01.382]: [I]-[ril.proatc]

[2018-09-17 15:34:01.384]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.385]: [I]-[ril.defrsp]AT+CSTT="CMIOT","",""trueOKnil

[2018-09-17 15:34:01.388]: [I]-[ril.sendat]AT+CIICR

[2018-09-17 15:34:01.390]: [I]-[ril.proatc]

[2018-09-17 15:34:01.393]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.397]: [I]-[ril.defrsp]AT+CIICRtrueOKnil

[2018-09-17 15:34:01.738]: [I]-[ril.proatc]

[2018-09-17 15:34:01.742]: [I]-[ril.proatc]STATE: IP GPRSACT

[2018-09-17 15:34:01.761]: [I]-[link.STATE]IP STATUSIP GPRSACT

[2018-09-17 15:34:01.766]: [I]-[ril.sendat]AT+CIFSR

[2018-09-17 15:34:01.769]: [I]-[ril.proatc]

[2018-09-17 15:34:01.772]: [I]-[ril.proatc]010.005.070.210

[2018-09-17 15:34:01.774]: [I]-[ril.defrsp]AT+CIFSRtruenil010.005.070.210

[2018-09-17 15:34:01.776]: [I]-[ril.sendat]AT+CIPSTATUS

[2018-09-17 15:34:01.779]: [I]-[ril.proatc]

[2018-09-17 15:34:01.782]: [I]-[ril.proatc]OK

[2018-09-17 15:34:01.794]: [I]-[ril.defrsp]AT+CIPSTATUStrueOKnil

[2018-09-17 15:34:01.797]: [I]-[ril.proatc]

[2018-09-17 15:34:01.800]: [I]-[ril.proatc]STATE: IP STATUS

[2018-09-17 15:34:01.805]: [I]-[link.STATE]IP STATUSIP STATUS

[2018-09-17 15:34:01.807]: [I]-[ril.proatc]

[2018-09-17 15:34:01.810]: [I]-[ril.proatc]C: 0,,"","","","INITIAL"

[2018-09-17 15:34:01.814]: [I]-[ril.defurc]C: 0,,"","","","INITIAL"

[2018-09-17 15:34:01.817]: [I]-[ril.proatc]C: 1,,"","","","INITIAL"

[2018-09-17 15:34:01.822]: [I]-[ril.defurc]C: 1,,"","","","INITIAL"

[2018-09-17 15:34:01.826]: [I]-[ril.proatc]C: 2,,"","","","INITIAL"

[2018-09-17 15:34:01.828]: [I]-[ril.defurc]C: 2,,"","","","INITIAL"

[2018-09-17 15:34:01.830]: [I]-[ril.proatc]C: 3,,"","","","INITIAL"

[2018-09-17 15:34:01.833]: [I]-[ril.defurc]C: 3,,"","","","INITIAL"

[2018-09-17 15:34:01.835]: [I]-[ril.proatc]C: 4,,"","","","INITIAL"

[2018-09-17 15:34:01.837]: [I]-[ril.defurc]C: 4,,"","","","INITIAL"

[2018-09-17 15:34:01.838]: [I]-[ril.proatc]C: 5,,"","","","INITIAL"

[2018-09-17 15:34:01.841]: [I]-[ril.defurc]C: 5,,"","","","INITIAL"

[2018-09-17 15:34:01.843]: [I]-[ril.proatc]C: 6,,"","","","INITIAL"

[2018-09-17 15:34:01.845]: [I]-[ril.defurc]C: 6,,"","","","INITIAL"

[2018-09-17 15:34:01.847]: [I]-[ril.proatc]C: 7,,"","","","INITIAL"

[2018-09-17 15:34:01.850]: [I]-[ril.defurc]C: 7,,"","","","INITIAL"

[2018-09-17 15:34:23.278]: [I]-[uart.r1]5AA506830001010003

[2018-09-17 15:34:23.283]: [I]-[uart.cmd]0001

[2018-09-17 15:34:23.289]: [I]-[uart.spbh]0003

[2018-09-17 15:34:23.300]: [I]-[ril.sendat]AT+CIPSTART=7,"TCP","www.gps0310.com",80

[2018-09-17 15:34:23.921]: [I]-[ril.proatc]

[2018-09-17 15:34:23.925]: [I]-[ril.proatc]OK

[2018-09-17 15:34:24.144]: [I]-[ril.proatc]

[2018-09-17 15:34:24.149]: [I]-[ril.proatc]7, CONNECT OK

[2018-09-17 15:34:24.166]: [I]-[ril.sendat]AT+CIPSEND=7,102

[2018-09-17 15:34:24.171]: [I]-[ril.proatc]

[2018-09-17 15:34:24.176]: [I]-[ril.proatc]> 

[2018-09-17 15:34:24.184]: [I]-[ril.procatc.send]first 200 bytesGET /wrsh/spxx.php?imie=869300035474919&bh=0003 HTTP/1.1

[2018-09-17 15:34:24.190]: Host: www.gps0310.com

[2018-09-17 15:34:24.198]: Connection: short

[2018-09-17 15:34:24.754]: [I]-[ril.proatc]

[2018-09-17 15:34:24.759]: [I]-[ril.proatc]7, SEND OK

[2018-09-17 15:34:24.836]: [I]-[ril.proatc]

[2018-09-17 15:34:24.840]: [I]-[ril.proatc]+RECEIVE,7,165:

[2018-09-17 15:34:24.858]: [I]-[ril.proatc]HTTP/1.1 200 OK

[2018-09-17 15:34:24.864]: [I]-[ril.proatc]Date: Mon, 17 Sep 2018 07:34:27 GMT

[2018-09-17 15:34:24.869]: [I]-[ril.proatc]Server: Apache

[2018-09-17 15:34:24.876]: [I]-[ril.proatc]Vary: User-Agent,Accept-Encoding

[2018-09-17 15:34:24.880]: [I]-[ril.proatc]Transfer-Encoding: chunked

[2018-09-17 15:34:24.886]: [I]-[ril.proatc]Content-Type: text/html

[2018-09-17 15:34:24.895]: [I]-[ril.proatc]

[2018-09-17 15:34:24.900]: [I]-[ril.proatc]1

[2018-09-17 15:34:24.905]: [I]-[ril.proatc]

[2018-09-17 15:34:24.910]: [I]-[ril.proatc]

[2018-09-17 15:34:25.111]: [I]-[ril.proatc]

[2018-09-17 15:34:25.118]: [I]-[ril.proatc]+RECEIVE,7,83:

[2018-09-17 15:34:25.123]: [I]-[ril.proatc]48

[2018-09-17 15:34:25.129]: [I]-[ril.proatc]137618390220180917153427#鑴夊姩#0.10#weixin://wxpay/bizpayurl?pr=1tc6hta

[2018-09-17 15:34:25.135]: [I]-[ril.proatc]0

[2018-09-17 15:34:25.139]: [I]-[ril.proatc]

[2018-09-17 15:34:25.145]: [I]-[testHttp.str]137618390220180917153427#鑴夊姩#0.10#weixin://wxpay/bizpayurl?pr=1tc6hta

[2018-09-17 15:34:25.151]: [I]-[testHttp.strarr]137618390220180917153427鑴夊姩0.10weixin://wxpay/bizpayurl?pr=1tc6hta

[2018-09-17 15:34:25.157]: [I]-[testHttp.dj]0001

[2018-09-17 15:34:25.168]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.174]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.177]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.192]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.195]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.213]: [I]-[testUart.write]Z

[2018-09-17 15:34:25.216]: [I]-[ril.sendat]AT+CIPCLOSE=7

[2018-09-17 15:34:25.235]: [I]-[ril.proatc]

[2018-09-17 15:34:25.236]: [I]-[ril.proatc]7, CLOSE OK

[2018-09-17 15:34:26.060]: LJD VSIM sim_ProcessInstruction:2784,sim_present=1,IsVsim=1

[2018-09-17 15:34:30.223]: [I]-[testHttp.BodyData]{out_trade_no="137618390220180917153427"}

[2018-09-17 15:34:30.228]: [I]-[ril.sendat]AT+CIPSTART=6,"TCP","www.gps0310.com",80

[2018-09-17 15:34:30.245]: [I]-[ril.proatc]

[2018-09-17 15:34:30.251]: [I]-[ril.proatc]OK

[2018-09-17 15:34:30.988]: [I]-[ril.proatc]

[2018-09-17 15:34:30.991]: [I]-[ril.proatc]6, CONNECT OK

[2018-09-17 15:34:30.998]: [I]-[ril.sendat]AT+CIPSEND=6,149

[2018-09-17 15:34:31.012]: [I]-[ril.proatc]

[2018-09-17 15:34:31.018]: [I]-[ril.proatc]> 

[2018-09-17 15:34:31.024]: [I]-[ril.procatc.send]first 200 bytesPOST /wrsh/example/orderquery.php HTTP/1.1

[2018-09-17 15:34:31.030]: Connection: short

[2018-09-17 15:34:31.035]: Content-Length: 41

[2018-09-17 15:34:31.040]: Host: www.gps0310.com

[2018-09-17 15:34:31.046]: {out_trade_no="137618390220180917153427"}

[2018-09-17 15:34:31.498]: [I]-[ril.proatc]

[2018-09-17 15:34:31.503]: [I]-[ril.proatc]6, SEND OK

[2018-09-17 15:34:31.580]: [I]-[ril.proatc]

[2018-09-17 15:34:31.584]: [I]-[ril.proatc]+RECEIVE,6,150:

[2018-09-17 15:34:31.602]: [I]-[ril.proatc]HTTP/1.1 200 OK

[2018-09-17 15:34:31.607]: [I]-[ril.proatc]Date: Mon, 17 Sep 2018 07:34:34 GMT

[2018-09-17 15:34:31.615]: [I]-[ril.proatc]Server: Apache

[2018-09-17 15:34:31.623]: [I]-[ril.proatc]Vary: User-Agent,Accept-Encoding

[2018-09-17 15:34:31.628]: [I]-[ril.proatc]Content-Length: 0

[2018-09-17 15:34:31.634]: [I]-[ril.proatc]Content-Type: text/html

[2018-09-17 15:34:31.640]: [I]-[ril.proatc]

[2018-09-17 15:34:31.644]: [I]-[orderq.body]true200table: 0x821f4c60

[2018-09-17 15:34:31.647]: [I]-[ril.sendat]AT+CIPCLOSE=6

[2018-09-17 15:34:31.658]: [I]-[ril.proatc]

[2018-09-17 15:34:31.662]: [I]-[ril.proatc]6, CLOSE OK

请先 登录 后评论

最佳答案 2018-09-17 16:26

数据那句改成   BodyData="out_trade_no="..dh 

head改成

{["Content-Type"]="application/x-www-form-urlencoded"}

试试
请先 登录 后评论

其它 0 个回答

  • 1 关注
  • 0 收藏,2357 浏览
  • 赵永宾 提出于 2018-09-17 15:40

相似问题