/RestTemplate

Microservices communication using #Spring #RestTemplate

Primary LanguageJavaMIT LicenseMIT

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