是否可以将标头设置为getForEntity方法的一部分,还是应该使用exchange?我试图将oauth标头设置为getForEntity调用的一部分.
java spring resttemplate
java ×1
resttemplate ×1
spring ×1