You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/03/02 02:28:31 UTC

[GitHub] [druid] FrankChen021 commented on issue #10931: Question: am I able to use `x-jackson-smile` over the SQL endpoint?

FrankChen021 commented on issue #10931:
URL: https://github.com/apache/druid/issues/10931#issuecomment-788527856


   The header should be `Accept:application/x-jackson-smile` according to the [doc](https://druid.apache.org/docs/latest/querying/querying.html)
   
   > The Content-Type/Accept Headers can also take 'application/x-jackson-smile'.
   > ```
   >  curl -X POST '<queryable_host>:<port>/druid/v2/?pretty' -H 'Content-Type:application/json' -H 'Accept:application/x-jackson-smile' -d @<query_json_file>
   > ```
   > > If the Accept header is not provided, it defaults to the value of 'Content-Type' header.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org