http quick operation request

http fast request interface, find this is very useful, you can introduce the following jar.

<dependency>
			<groupId>org.jodd</groupId>
			<artifactId>jodd-http</artifactId>
			<version>5.0.2</version>
		</dependency>

Operation example:

HttpResponse send = HttpRequest.post("http://localhost:8080/xx.do").form(paramsMap).send();

Same as get request!

 

 

Also note by the way:

Hutool-all   provides a wealth of Java tool methods, whichever package is needed, whichever is needed.

Published 23 original articles · Like 3 · Visitors 6858

Guess you like

Origin blog.csdn.net/weixin_41834814/article/details/85339768