Free, portable tool for developers to simulate server responses (httpdebugger.com) 1 points by pkhach 7y ago ↗ HN
[–] limw 7y ago ↗ 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); }; } [–] pkhach 7y ago ↗ 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\SSLPlease check this article for more information: https://www.httpdebugger.com/help/java.html [–] limw 7y ago ↗ thank you for your comment.
[–] pkhach 7y ago ↗ 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\SSLPlease check this article for more information: https://www.httpdebugger.com/help/java.html [–] limw 7y ago ↗ thank you for your comment.
3 comments
[ 2.2 ms ] story [ 15.5 ms ] thread@Bean public CommandLineRunner run(RestTemplate restTemplate) throws Exception { return args -> { String quote = restTemplate.getForObject( "http://www.myhome.com/", String.class); log.info(quote); }; }
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