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.

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

1 Like

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.

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

1 Like

yet,i see.

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

1 Like

Yes, you're right. thanks.

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