<!-- https://mvnrepository.com/artifact/org.jodd/jodd-http -->
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-http</artifactId>
<version>6.2.0</version>
</dependency>
import .http.HttpRequest;
import jodd.http.HttpResponse;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
public class UrlBad05 {
public static void main(String[] argv) throws MalformedURLException, URISyntaxException, ClassNotFoundException {
HttpRequest httpRequest = HttpRequest.get("http://localhost:8013");
HttpResponse response = httpRequest.send();
System.out.println(response);
}
}