Birlasoft interview question

jvm architecture spring boot annotations how to consume rest api