Use the binary data flag or curl does not work correctly.

curl -XPUT "http://localhost:9200/books/book/1";  --data-binary  --data
@books.json

Jörg

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHyFm9cv6RJDZ4x-czsZQFnNgxnLhxD8unxoVwqE3wXtw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to