nice tools。
it can simulate a json response,and use spring restTemplate to access it.
@Bean
public CommandLineRunner run(RestTemplate restTemplate) throws Exception {
return args -> {
String quote = restTemplate.getForObject(
"http://www.myhome.com/", String.class);
log.info(quote);
};
}