Drop all data from Dgraph

The way to do the drop data operation over HTTP is via the POST request:

curl -X POST localhost:8080/alter -d '{"drop_op": "DATA"}'

We can add a way to do that in Ratel too. I’ve created a feature request:

https://github.com/dgraph-io/ratel/issues/159

4 Likes