This tutorial is going to show how to post JSON with Retrofit, a type-safe HTTP client for Android and Java. 1. Library Dependency We’re going to use Retrofit 2.3.0 for all examples presented in this tutorial. And To use Retrofit… Continue Reading →
This article is going to cover about Spring 5 WebClient, a non-blocking, reactive client for HTTP requests with Reactive Streams back pressure. 1. Introduction To Spring 5 WebClient The WebClient is a non-blocking, reactive HTTP client which has been introduced… Continue Reading →
This tutorial is going to cover about how to post with Retrofit 2, a type-safe HTTP client for Android and Java applications. We’re going to get though some popular use cases and examples where Retrofit 2 can be used such… Continue Reading →
This tutorial is going to cover how to use Netflix Feign with Spring Cloud and how to override default configurations, declare additional configurations for Feign client in Spring Cloud as well. 1. Preparation 1.1. The RESTful Web Service Let’s assume… Continue Reading →
This tutorial is going to cover about how to post with OkHttp, an HTTP & HTTP/2 client for Android and Java applications. We’re going to get though some popular use cases and examples such as how to post a string,… Continue Reading →
1. Introduction This short tutorial is going to cover how to set timeouts with Unirest for Java, a simplified, lightweight HTTP request library built and maintained by Mashape. Unirest for Java allows us to set timeouts for its HTTP clients,… Continue Reading →
This short tutorial is going to cover about file uploading with Open Feign, a java to http client binder. 1. Preparation 1.1. REST API for file uploading Let’s assume that we have a RESTful web service which provides an API… Continue Reading →
1. Overview This tutorial is going to cover how to create a WebSocket client example with OkHttp, an HTTP & HTTP/2 client for Android and Java applications, powered by Square. 2. Preparation We’re going to use OkHttp3, version 3.5.0 for… Continue Reading →
This tutorial is going to illustrate how to do basic authentication with Open Feign, a java to http client binder powered by OpenFiegn. 1. Overview In general, we will use the BasicAuthRequestInterceptor class, which is an interceptor that adds the… Continue Reading →
This tutorial will cover how to upload a file with OkHttp, an HTTP & HTTP/2 client for Android and Java applications, powered by Square. 1. Preparation 1.1. REST API for file uploading Let’s assume that we have a RESTful web… Continue Reading →
© 2025 HowToProgram — Powered by WordPress
Theme by Anders Noren — Up ↑