Additionally, one can use /query instead of /select in your examples
and people will get an indented JSON response by default instead of
XML.

-Yonik

On Thu, Apr 9, 2015 at 5:18 PM, Yonik Seeley <ysee...@gmail.com> wrote:
> I don't know how often "curl" is used for any examples in the docs,
> but if so, they can be simplified by omitting the content type spec
> (for JSON or XML).  That's due to this:
>
> SOLR-7217: HTTP POST body is auto-detected when the client is curl and
> the content type is form data (curl's default), allowing users to use
> curl to send JSON or XML without having to specify the content type.
> (yonik)
>
> -Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to