#window添加转义字符 \
1. curl -X PUT "localhost:9200/customer/_doc/1?pretty" -H "Content-Type: application/json" -d "{\"name\": \"John Doe\"}"
#window添加转义字符 \
1. curl -X PUT "localhost:9200/customer/_doc/1?pretty" -H "Content-Type: application/json" -d "{\"name\": \"John Doe\"}"
转载于:https://www.cnblogs.com/changeEveryDay/p/11221995.html