Using a string inside the DocumentBuilder parse method (need it for parsing XML using XPath)
- by dierre
Hi guys! I'm trying to create a RESTful webservice using a Java Servlet. The problem is I have to pass via POST method to a webserver a request. The content of this request is not a parameter but the body itself.
So I basically send from ruby something like this:
url = URI.parse(@host)
req = Net::HTTP::Post.new('/WebService/WebServiceServlet')…