about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-09 19:00:19 +0100
committerEmile <hanemile@protonmail.com>2019-02-09 19:00:19 +0100
commit3e3e34f42a7ac6955ecfb2c941a2ef2b440a3d8c (patch)
treedb144e447674920427e030a0b5ac336ef0cab829
parentdff528dab1a5fe2f6c024753a12913a69d21d6b3 (diff)
added a script deleting all nodes, all stars, creating a new tree and inserting 200000 stars into the tree
-rwxr-xr-xinsertcsv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/insertcsv.sh b/insertcsv.sh
new file mode 100755
index 0000000..f42c953
--- /dev/null
+++ b/insertcsv.sh
@@ -0,0 +1,4 @@
+curl -X POST http://localhost:8081/deleteStars 
+curl -X POST http://localhost:8081/deleteNodes 
+curl -X POST --data "w=1000" http://localhost:8081/new
+curl -X POST --data "filename=200000.csv" http://localhost:8081/insertList