Creates an HttpRequest with the provided target url.
Creates an HttpRequest with the provided target url.
Same thing as calling HttpRequest().withURL(url)
.
The target url.
An HttpRequest ready to GET the target url.
Creates a blank HTTP request.
Creates a blank HTTP request.
It is most of the time more convenient to use apply(String) but this constructor allows you to programatically construct a request from scratch.
HttpRequest.default