Files
spring-boot-demo/rest-client-test/docs/output/03-404-throws-notfound.txt
T

6 lines
289 B
Plaintext

== A 404 response from MockRestServiceServer surfaces as HttpClientErrorException.NotFound ==
requestTo("http://hr-api.example.com/employees/99") -> 404 Not Found
exception class = org.springframework.web.client.HttpClientErrorException$NotFound
exception.getStatusCode() = 404 NOT_FOUND