The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

HTTP Client-Side

HTTP Clients such as the HttpClient, rest-assured or OkHttp are very useful for calling HTTP endpoints. This category is focused on these clients.

  • Apache HttpClient (25)
  • RestTemplate (17)
  • WebClient (11)
  • OkHttp (8)
  • Java HttpClient (6)
  • HTTP Post (5)
  • REST Assured (5)
  • Feign (3)
  • Spring WebFlux (3)
  • Spring 5 (3)

>> Stream Large Byte[] to File With WebClient

>> Spring Boot FeignClient vs. WebClient

>> Custom HTTP Header With the Java HttpClient

>> Adding Parameters to Java HttpClient Requests

>> Java HttpClient Timeout

>> Add Header to Every Request in Postman

>> Java HttpClient Basic Authentication

>> Apache HttpClient vs. CloseableHttpClient

>> Send a SOAP Object with Feign Client

>> Trusting All Certificates in OkHttp

>> Enabling Logging for Apache HttpClient

>> Download a Binary File Using OkHttp

>> A Guide to Events in OkHTTP

>> Set a Timeout in Spring 5 Webflux WebClient

>> Adding Interceptors in OkHTTP

>> Spring RestTemplate Exception: “Not enough variables available to expand”

>> Get List of JSON Objects with WebClient

>> Get list of JSON objects with Spring RestTemplate

>> Adding Parameters to Apache HttpClient Requests

>> Retrofit 2 – Dynamic URL

>> How To Get Cookies From the Apache HttpClient Response

>> Reading an HTTP Response Body as a String in Java

>> How to Set TLS Version in Apache HttpClient

>> Proxies With RestTemplate

>> HTTP/2 in Netty

>> Configuring Thread Pools for Java Web Servers

>> Guide to WebRTC

>> A Quick Guide to Post Requests with OkHttp

>> A Quick Guide to Timeouts in OkHttp

>> Simultaneous Spring WebClient Calls

>> Jetty ReactiveStreams HTTP Client

>> How to Compress Requests Using the Spring RestTemplate

>> Add a Header to a Jersey SSE Client Request

>> Spring WebClient Filters

>> Checking if a URL Exists in Java

>> Spring WebClient vs. RestTemplate

>> Download a Large File Through a Spring RestTemplate

>> Decode an OkHttp JSON Response

>> RestTemplate Post Request with JSON

>> Spring WebClient Requests with Parameters

>> Getting and Verifying Response Data with REST-assured

>> Making a JSON POST Request With HttpURLConnection

>> Spring WebClient and OAuth2 Support

>> Connecting Through Proxy Servers in Core Java

>> Spring Security OAuth Login with WebFlux

>> Mocking a RestTemplate in Spring

>> Guide to ScribeJava

>> Ratpack HTTP Client

>> Reactive JAX-RS Client API

>> Uploading MultipartFile with Spring RestTemplate

>> Guide to Spring 5 WebFlux

>> Get and Post Lists of Objects with RestTemplate

>> Configure a RestTemplate with RestTemplateBuilder

>> Spring RestTemplate Error Handling

>> Using the Spring RestTemplate Interceptor

>> JSON Schema Validation with REST-assured

>> Headers, Cookies and Parameters with REST-assured

>> REST-assured with Groovy

>> A Guide to Unirest

>> Asynchronous HTTP with async-http-client in Java

>> Exploring the New HTTP Client in Java

>> A Guide to Google-Http-Client

>> Introduction to Retrofit

>> Spring 5 WebClient

>> Do a Simple HTTP Request in Java

>> Exploring the Spring Boot TestRestTemplate

>> Advanced Apache HttpClient Configuration

>> A Guide to OkHttp

>> Intro to Feign

>> A Guide to REST-assured

>> RESTEasy Client API

>> The Guide to RestTemplate

>> Apache HttpClient Tutorial

>> Authenticating with Reddit OAuth2 and Spring Security

>> Posting with Apache HttpClient

>> Apache HttpAsyncClient Tutorial

>> Apache HttpClient Connection Management

>> Multipart Upload with Apache HttpClient

>> Basic Authentication with the RestTemplate

>> Apache HttpClient Basic Authentication

>> Custom HTTP Header with the Apache HttpClient

>> Apache HttpClient – Follow Redirects for POST

>> Apache HttpClient – Do Not Follow Redirects

>> Apache HttpClient – Send Custom Cookie

>> Apache HttpClient – Get the Status Code

>> Apache HttpClient – Cancel Request

>> Custom User-Agent in Apache HttpClient

>> Apache HttpClient 4 Cookbook

>> Expand Shortened URLs with Apache HttpClient

>> Apache HttpClient with SSL

>> RestTemplate with Digest Authentication

>> Apache HttpClient Timeout

>> StackExchange REST Client with Spring and RestTemplate

  • ↑ Back to Top
res – HTTP Client (eBook) (cat=Http Client-Side)
opt-in
Get the Most
out of the Apache HTTP Client
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo