CodePudding user response:
The code so you couldn't see the difference betweenCodePudding user response:
HttpClient is a product of ApacheHttpURLConnection is the father of Java's masterpiece, not need doubt
Can see you accustomed to, I like the latter more, the reason is that don't need to refer to any jars
CodePudding user response:
The Request Headers, and to specify the Type of the content-typeCodePudding user response:
For HTTP status code of 406 general agreement format error, can cut package and see format correct?