如何使用HTTP POST方法调用PHP Web服务的机器人? [英] How to use http post method to call php webservice in android?
本文介绍了如何使用HTTP POST方法调用PHP Web服务的机器人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我打电话是通过HTTP POST方法PHP的Web服务。我送了有道的要求,但是当性反应来临时,它不会给我回应。
I'm calling php webservice through http post method. I'm sending the request in the proper way, but when responce comes, it is not giving me response.
这是我有:
org.apache.http.message.BasicHttpResponse@4057f498
帮助我,请。
Help me, please.
推荐答案
这是正常的反响。什么,你需要得到的信息是要调用一个方法:
This is the normal responce. What you need to get the information is to call a method:
responce.getEntity()
了解更多<一href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/message/BasicHtt$p$psponse.html"相对=nofollow>这里。
这篇关于如何使用HTTP POST方法调用PHP Web服务的机器人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文