how to use resttemplate in spring code example Example: rest template we use rest template to call other API from our project. #SPRING BOOT