3 comments

[ 2.2 ms ] story [ 15.5 ms ] thread
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); }; }

Is this a JAVA application?

For JAVA applications you need to add WebTools certificate to JAVA root certificates store.

You can find WebTools certificate here: C:\Users\[username]\Documents\WebTools\Cert\SSL

Please check this article for more information: https://www.httpdebugger.com/help/java.html

thank you for your comment.