We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ba0adf + 5630b97 commit f1fddaeCopy full SHA for f1fddae
Managing Documents/importing-data-with-curl.md
@@ -18,7 +18,10 @@ cd C:\Users\[your_username]\Desktop
18
## Importing data into local cluster
19
20
```
21
-curl -H "Content-Type:application/x-ndjson" -XPOST http://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
+curl --cacert [path_to_CA_certificate] -u elastic -H "Content-Type:application/x-ndjson" -XPOST https://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
22
+
23
+# Skipping the verification of the certificate (only for local development)
24
+curl --insecure -u elastic -H "Content-Type:application/x-ndjson" -XPOST https://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
25
26
27
## Importing data into Elastic Cloud
0 commit comments