diff --git a/src/docs/asciidoc/integration.adoc b/src/docs/asciidoc/integration.adoc index c529ebb755..bffaf76722 100644 --- a/src/docs/asciidoc/integration.adoc +++ b/src/docs/asciidoc/integration.adoc @@ -163,7 +163,7 @@ You can use the `exchange()` methods to specify request headers, as the followin URI uri = UriComponentsBuilder.fromUriString(uriTemplate).build(42); RequestEntity requestEntity = RequestEntity.get(uri) - .header(("MyRequestHeader", "MyValue") + .header("MyRequestHeader", "MyValue") .build(); ResponseEntity response = template.exchange(requestEntity, String.class);