Category: Open Feign

  • How to send multiple headers using Open Feign ?

    If you are consuming a REST service in Spring using Open Feign , you may come across scenarios where multiple headers need to be set. In the previous post: How to invoke a basic authenticated REST service using Open Feign? I explained how to set Authorization header while consuming a basic authenticated REST service. You…

  • How to invoke a REST service protected by BasicAuth using Spring Open Feign?

    Invoking REST services from Spring is much easier if you use Spring Open Feign. It allows you to invoke REST services declaratively and saves a lot of code. Here is the post explaining the basic concept of Open Feign: How to call a REST service declaratively using Open Feign? It is a very simple example…

  • How to call a REST service from Spring declaratively using OpenFeign?

    If you are using Spring, you are probably using Rest Template provided by Spring to invoke third party REST services. That involves some code , preparing the REST template , populating the parameters required for one of the methods exposed by the REST template and finally invoking one of its specific methods. What if you…