Fix smile query documentation (#6620)

This commit is contained in:
Niketh Sabbineni 2018-11-13 16:51:02 -08:00 committed by Fangjin Yang
parent cdae2fe7b5
commit 2ebdce20b1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Druid's native query language is JSON over HTTP, although many members of the co
The Content-Type/Accept Headers can also take 'application/x-jackson-smile'. The Content-Type/Accept Headers can also take 'application/x-jackson-smile'.
```bash ```bash
curl -X POST '<queryable_host>:<port>/druid/v2/?pretty' -H 'Content-Type:application/json' -H 'Accept:x-jackson-smile' -d @<query_json_file> curl -X POST '<queryable_host>:<port>/druid/v2/?pretty' -H 'Content-Type:application/json' -H 'Accept:application/x-jackson-smile' -d @<query_json_file>
``` ```
Note: If Accept header is not provided, it defaults to value of 'Content-Type' header. Note: If Accept header is not provided, it defaults to value of 'Content-Type' header.