android HTTP POST fail

view story

http://stackoverflow.com – I'm trying to connect and post to a simple java webservice, running the post's URL from chrome succeeded, but android code skip the following lines (without throwing errors), but the webservice doesn't accept the post HttpPost post = new HttpPost(setFacebookEventsAddress+userId+"/"+accesstoken); post.setHeader("Accept", "application/json"); post.setHeader("Content-type", "application/json"); HttpResponse response = client.execute(post); the webservice method signature handling the above request: @GET @Path("setData/{user_id}/{access (HowTos)