Related questions
How to use parameters with HttpPost
I am using a RESTfull webservice with this methode:
@POST
@Consumes({"application/json"})
@Path("create/")
public void create(String str1, String str2){
System.out.println("value 1 = " + str1);
System.out.println("value 2 = " + str2);
}
In my Android app I want to call …
How do I print the content of httprequest request?
I've got a bug involving httprequest, which happens sometimes, so I'd like to log HttpGet and HttpPost request's content when that happens.
So, let's say, I create HttpGet like this:
HttpGet g = new HttpGet();
g.setURI(new URI("http://www.…