How to enter an instruction with CMD in Elasticsearch


I just read it here:
I don't know how to type this instruction(curl -XPUT 'localhost:9200/customer/external/1?pretty&pretty' -H 'Content-Type: application/json' -d'
"name": "John Doe"
in win7's CMD.
Because it is always wrong, for example:
What should I do? Ask for directions, thank you.

(David Pilato) #2

On windows I think it's easier to use Kibana dev console instead of curl.


Yes, I just found a very good browser plug-in (Sence), i can directly achieve the input of these statements. Thank you for your reply.

(David Pilato) #4

Sense is the old version I believe of the Kibana dev console.


yet,i see.

(SK) #6

In widows single quotes in curl doesnt work, use double quotes instead


Yes, you're right. thanks.

(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.