About 1,080,000 results
Open links in new tab
  1. Do a Simple HTTP Request in Java - Baeldung

    Mar 26, 2025 · A quick and practical guide to performing basic HTTP requests using Java's built-in HttpUrlConnection.

  2. HttpRequest (Java SE 11 & JDK 11 ) - Oracle

    Request bodies are provided through a BodyPublisher supplied to one of the POST, PUT or method methods. Once all required parameters have been set in the builder, build will return the HttpRequest.

  3. html - How to send HTTP request in Java? - Stack Overflow

    Sep 1, 2009 · In Java, How to compose an HTTP request message and send it to an HTTP web server?

  4. HTTP API of java.net.http Package With Examples

    Jul 23, 2025 · In general, asynchronous tasks execute in either the thread invoking the operation, e.g. sending an HTTP request, or by the threads supplied by the client's executor.

  5. Java HttpClient Tutorial: Master HTTP Requests with GET, POST, and …

    Apr 17, 2025 · Learn how to create HTTP requests in Java using the HttpClient library. This comprehensive tutorial covers GET and POST requests, query parameters, asynchronous requests, …

  6. Introduction to the Java HTTP Client - OpenJDK

    It can be used to request HTTP resources over the network. It supports HTTP/1.1 and HTTP/2, both synchronous and asynchronous programming models, handles request and response bodies as …

  7. Java: Making HTTP Requests - javaspring.net

    Nov 12, 2025 · Whether you're interacting with a RESTful API, scraping data from a web page, or integrating with third - party services, understanding how to make HTTP requests in Java is …

  8. 5 ways to make HTTP requests in Java - Twilio

    Jul 21, 2020 · Making HTTP requests is a core feature of modern programming, and is often one of the first things you want to do when learning a new programming language. For Java programmers there …

  9. HTTP Requests in Java: A Complete Guide with Examples

    Aug 16, 2025 · Whether you are building a REST API client, fetching data from a server, or sending POST requests, Java provides multiple ways to handle HTTP requests. In this guide, we will cover …

  10. HttpClient (Java SE 11 & JDK 11 ) - Oracle

    HttpClient is created through a builder. The builder can be used to configure per-client state, like: the preferred protocol version ( HTTP/1.1 or HTTP/2 ), whether to follow redirects, a proxy, an …