diff --git a/README.md b/README.md index 02243c3..0da6384 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,11 @@ try { .withResourcePath("/stage/path").build()); System.out.println("Response: " + response.getBody()); - System.out.println("Status: " + response.getHttpResponse.getStatusCode()); + System.out.println("Status: " + response.getHttpResponse().getStatusCode()); } catch (GenericApiGatewayException e) { // exception thrown for any non-2xx response System.out.println(String.format("Client threw exception with message %s and status code %s", e.getMessage(), e.getStatusCode())); } -``` \ No newline at end of file +```