java apache HC BasicHttpEntityEnclosingRequest vs BasicHttpRequest
问题 Making a class that takes instructions (steps) from a data source and automates few HC (http://hc.apache.org Apache Http Client) actions. Want to be able to carry out HTTP post, get and direct (like sending a JSON or XML/ soap message to a web server) calls. Confused about when to use BasicHttpEntityEnclosingRequest vs BasicHttpReques what is the enclosing? Right now I have steps to init the context, provide param values, the URL, method etc when i want to submit this is what I'm doing: