I'm trying to use bulk_api to dump some json data. I keep getting this error. Anyone know what it is about?
My code: curl -xPOST 'localhost:9200/_bulk?pretty' --data-binary @indeed_profiles.json
Error: curl: (5) Could not resolve proxy: POST
I'm trying to use bulk_api to dump some json data. I keep getting this error. Anyone know what it is about?
My code: curl -xPOST 'localhost:9200/_bulk?pretty' --data-binary @indeed_profiles.json
Error: curl: (5) Could not resolve proxy: POST
Use -XPOST
, not -xPOST
.
OMG THANK YOU!! i feel like an idiot now
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.