spring-security-workshop
spring-security-workshop copied to clipboard
Change postForEntity -> exchange, should be getForEntity -> exchange
Only found in adding-spring-security/README.adoc the following "<5> We switch from TestRestTemplate.postForEntity(...) to TestRestTemplate.exchange(...), as needed to pass the header.", but that is actually correct.