Is the @   important?

when i use the command you send i get:

# curl -XPOST http://localhost:9200/_river/my_csv_river/_meta --data-binary 
@insertrivercsv.json
Warning: Couldn't read data from file "insertrivercsv.json", this makes an
Warning: empty POST.
{"error":"MapperParsingException[failed to parse, document is 
empty]","status":400}



Op dinsdag 11 februari 2014 13:58:32 UTC+1 schreef Jörg Prante:
>
> If you use curl, then check the parameters for sending valid input. You 
> certainly want something like this
>
> curl -XPOST http://localhost:9200/_river/my_csv_river/_meta --data-binary 
> @insertrivercsv.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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9cadc170-dac1-40d2-9b15-17fecbf2168a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to