Skip to content

simple spring boot app using a feign client with headers

Notifications You must be signed in to change notification settings

davestimpert/feign-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feign-demo

This repo was made to demonstrate how to define a header value on a feign client in a spring boot app

Goal

Create a feign client in a spring boot app that has a header on every request. Ideally the header is specified on the interface itself rather than the individual methods, because we want to configure the header globally for the client rather than making all the calling code responsible for providing the header. (This header is authentication-related)

About

simple spring boot app using a feign client with headers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages