From 30b80800dd3738f18f076550e61d2f3738f71e22 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Fri, 5 Jun 2020 21:30:03 -0700 Subject: [PATCH] Make sure the fulltext search curl examples include the required header --- spring-content-rest/src/main/asciidoc/rest-store.adoc | 2 +- spring-content-solr/src/main/asciidoc/solr-rest.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-content-rest/src/main/asciidoc/rest-store.adoc b/spring-content-rest/src/main/asciidoc/rest-store.adoc index b4444eb76..fd1c6ca67 100644 --- a/spring-content-rest/src/main/asciidoc/rest-store.adoc +++ b/spring-content-rest/src/main/asciidoc/rest-store.adoc @@ -299,7 +299,7 @@ These resources are exported to the URI `/dvds/searchContent`. Method parameter ==== [source, sh] ---- - curl http://localhost:8080/dvds/searchContent?queryString=foo + curl -H 'Accept: application/hal+json' http://localhost:8080/searchContent?queryString=foo ---- ==== diff --git a/spring-content-solr/src/main/asciidoc/solr-rest.adoc b/spring-content-solr/src/main/asciidoc/solr-rest.adoc index 42ce2ae8b..1c9e46deb 100644 --- a/spring-content-solr/src/main/asciidoc/solr-rest.adoc +++ b/spring-content-solr/src/main/asciidoc/solr-rest.adoc @@ -9,7 +9,7 @@ available at the `/{store}/searchContent` URI. ==== [source, sh] ---- - curl http://localhost:8080/searchContent?queryString=foo + curl -H 'Accept: application/hal+json' http://localhost:8080/searchContent?queryString=foo ---- ====