简体   繁体   English

传递带有json请求参数的get请求的正确方法是什么?

[英]what is the proper way to call get request with passing json request parameter?

我想使用带有传递json参数的get方法来调用http请求来获取请求调用。那么调用传递带有json请求的http get方法的正确方法是什么?

http://plaincodesource.blogspot.com/2010/10/android-post.html try this. http://plaincodesource.blogspot.com/2010/10/android-post.html试试这个。 I believe you can set reauest method "GET" and then write your json into output stream. 我相信您可以设置最可靠的方法“ GET”,然后将json写入输出流。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM