How to Consume REST APIs in Spring Boot - 2 Methods (RestTemplate and Feign Client)

preview_player
Показать описание
This video explains how to consume REST APIs in Spring Boot application using two methods:
01:55 - Using RestTemplate
12:19 - Using Feign Client and Ribbon

More Microservices lessons
Рекомендации по теме
Комментарии
Автор

Thank you bro! This simple tutorial has solve my problem. You are really a teacher. wow VERY SIMPLE AND EASY explanation

samjuthecoder
Автор

You're a very good teacher. Kudos

tobiillz
Автор

This is broken down so well. Thank you!

emmarichardson
Автор

Thanks for this tutorial. You have resolved my problem.

deepakbodkhe
Автор

You are the best. Thanks a lot for the explanation.

lopezpleonel
Автор

thanks very much Kindson! very rich infos here, heavy! i am learning spring boot with vscode, trying to make an external call

andremyszko
Автор

Thank you for the video!
very simple and efficient. Perfect!

camillefrazao
Автор

Simple and explained very well... I am trying to get something done similar but in my case before calling the actual endpoint I need to get authentication token and use it in subsequent request. The token has a expiry time and have to be stored and reused. Can you please explain how can save it and use.
Thanks

yogieu
Автор

Thanks for the awesome explanation, can you pls provide the github repo link, so that we can set it up
in local

arpanbanejee
Автор

Hi .. Thanks for your very amazing videos; this inclusive.
I have a few questions, can I ask please?

tolulopeayemobola
Автор

When to use rest template and feign ?
What's the difference btw them apart from length of code

soulfulGirl_
Автор

Sir, can you make a video for POST method using restTemplate? U just pass some headers and requestBody and take the response as an Object(because u don’t know what is the response structure) How can we do that ?

pranoydas
Автор

Thnku for this wonderful video. I request you to please make videos on microservices..

mesarfarazalam
Автор

Hello Sir,
Can you please make a video series of Quarkus in Java ?

Can you please make a video to read a excel file using Quarkus and produce JSON object and send to another service ?

pranoydas
Автор

Thank you for the video !
Couple of comments:
1. I always thought that IDEA autosaves evething we code ? why do you use "Save all" ?
2. As for me I don't like when IDEA underlines something, so when you use @Autowired, and you have next string underlined, one could use Lombok annotation @RequiredArgsConstructor and code next: private final RestTemplate restTemplate;

Romigo
Автор

Hi Kindson, what if i add @enablefeignclient annotation on springbootapplication level ?

Ravikumar-gjqw
Автор

This was just the tutorial I was looking for! Thanks for making it available.
Do you have a video or could you give me a hint on how to go about the task.
If the site at which you are trying to consume data from is not static, for instance : weather. And then i have to consume data from this site at an interval, every 3hrs for instance and save it to the database

bayomiller
Автор

can you plzz make a video on how to consume an https rest API with SSL cert??

ritikagargjagtap
Автор

Thank you. However, please follow naming conventions of Java interface.

tas
Автор

thank you, but : how to consume data from CSV file instead of data from api( i mean how to consume data from csv file on my PC in order to obtain a JSON file as a result)

chekerrhayem