curl -d中的json存在引号怎么处理?

时间:2019-04-29 17:11:48   收藏:0   阅读:987

1\将其改写为I‘\‘‘m就可以执行

2\

curl -u elastic:mypass -X GET "localhost:9200/_analyze?pretty"  -d ‘analyzer=standard&text=this is a‘\‘‘1 test‘

  

原文:https://www.cnblogs.com/cbugs/p/10791399.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!