Skip to content

JavatoDev-com/open-feign-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Use Feign Client in Spring Boot

How To Use Feign Client In Spring Boot

Spring Cloud OpenFeign an openfeign integration module for spring boot. Feign is one of the best HTTP clients which we could use with Spring boot to communicate with third-party REST APIs. In this tutorial, we are going to explain how we can configure feign client inside a spring boot app to consume third party REST API.

Main Topics inside this article.

  • Advantage of Using Feign as an HTTP Client
  • Adding Required Dependencies
  • Configuring Feign Client
  • Send Requests Using Feign Client
  • Testing With Postman
  • Loading Feign Configurations From Application Properties
  • Custom Configurations For Feign Client in Spring Boot
  • Setting Dynamic Headers into the Feign Client
  • Setting Feign Configurations Using Application Properties
  • Configure Error Handling For Feign Client in Spring Boot

Technologies Going to Use,

  • Spring Boot: 2.3.4.RELEASE
  • Spring Cloud: Hoxton:RELEASE
  • Spring Cloud Starter Open Feign: 2.2.5.RELEASE
  • Lombok
  • Gradle
  • Intellij Idea for IDE

📄 Original Tutorial How to Use Feign Client in Spring Boot

Related Articles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages