Difference between revisions of "Curl -XPUT"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  [[curl -s -i]] -k -XPUT -u elastic:yourpass" https://elasticsearch-master:9200/_snapshot/your_repo/%3Csnapshot-%7Bnow%2Fd%7D%3E"
 
  [[curl -s -i]] -k -XPUT -u elastic:yourpass" https://elasticsearch-master:9200/_snapshot/your_repo/%3Csnapshot-%7Bnow%2Fd%7D%3E"
 +
 +
* Create index: curl -XPUT 'www.example.com:9200/myIndexName?pretty'
  
  

Revision as of 07:39, 19 October 2022

Advertising: