Skip to content

Microservices communication using #Spring #RestTemplate

License

Notifications You must be signed in to change notification settings

codefarm0/RestTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestTemplate

Microservices communication using #Spring #RestTemplate. The code in this repository has been explained in below videos. Follow them topic wise and in case of doubt comment in the 'comment' section of youtube video. Hope you'll learn and enjoy learning microservices with me :)

Exchange() method of Rest Template - calling Http GET endpoint of external REST service

Explained in video with details - https://youtu.be/5WXk88r9T90

Exchange() method of Rest Template - calling Http POST/PUT/DELETE endpoint of external REST service

Youtube video for explanation - https://youtu.be/RHplGVRKwlc

getForObject(), postForObject(), getForEntity(), postForEntity(), postForLocation, put(), delete() methods of RestTemplate

Code is in the present repository and to see the explanation of code watch - https://youtu.be/m4VvvqeTngU

How to create instance of RestTemplate using RestTemplateBuilder

Watch video to get insights - https://youtu.be/_1DJo1qfwP0

How to add base URL in RestTemplate

Watch video - https://youtu.be/7RBp4bCQWZI

How to Add timout in RestTemplate

Watch video - https://youtu.be/H00jO2y0kXM

How to add interceptor in RestTemplate for centralized logging of request and response

https://youtu.be/WaxS4EQO8WQ

About

Microservices communication using #Spring #RestTemplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages