【发布时间】:2024-01-03 19:15:01
【问题描述】:
我是 Java spring 框架的新手, 我需要一种从我的应用程序调用外部 Rest Api 的方法。 是否有任何“最佳实践”http 客户端,以便我可以根据需要使用?
提前致谢
【问题讨论】:
-
RestTemplate 也许?
-
请先做一些谷歌工作,然后再向社区提问。例如,你可以在谷歌中搜索:“spring perform post request”,你肯定会在 SF 上找到一些很好的答案。
-
google.com/search?q=spring+resttemplate = 336.000 个结果
标签: java spring api spring-boot httpclient