title: RESTful HTTP Examples of Server <-> Client
body: <p>So I'm looking up how to do POST, PUT, etc... in REST but I'm having a problem trying to find a simple example of using POST to send an XML example to a server say Tomcat and show the results. </p>
  
  <p>Is there a correct way to connect? I've seen some people use sockets but is that the way I want to do?</p>