Skip to content

Commit

Permalink
Fix syntax for RequestEntity headers example in ref docs
Browse files Browse the repository at this point in the history
Closes gh-26876
  • Loading branch information
kihyuk-sung committed Apr 29, 2021
1 parent 98770b1 commit 26ed6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/asciidoc/integration.adoc
Expand Up @@ -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<Void> requestEntity = RequestEntity.get(uri)
.header(("MyRequestHeader", "MyValue")
.header("MyRequestHeader", "MyValue")
.build();
ResponseEntity<String> response = template.exchange(requestEntity, String.class);
Expand Down

0 comments on commit 26ed6d8

Please sign in to comment.