• Post Reply Bookmark Topic Watch Topic
  • New Topic

java client

 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do a java client prepares a HTTP request and interprets a HTTP response.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some simple examples can be found here, particularly e136 for GET requests, and e135 for POST.

As to interpreting the results, that's up to your code. The URLConnection just hands you the text of the web page.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!