http
2 tutorials tagged “http”.
- HttpURLConnection in JavaThe legacy HTTP client: request methods, status codes, sending a POST body, reading error responses, and how it compares with HttpClient.
- HttpClient in JavaThe modern HTTP client (Java 11): build requests, send them blocking or async, POST JSON, handle status codes and timeouts, and fetch a page title.