can anybody provide a good example of the way i can use GET and Publish (Apache 4.1 HttpClient ) because the majority of the example which i found are utilizing 3.x .

Thanks

This example demonstrates client authentication but additionally helps guide you to carry out a GET too. This example demonstrates posting parameters to some location and shows how to carry out a Publish.