Calling this:
curl -X POST localhost:8080/alter -d '{"drop_all": true}'
I get:
{"errors":[{"message":"line 1 column 0: Unexpected token: lex.Item [6] \"{\" at 1:0 while parsing schema","extensions":{"code":"Error"}}]}
Also Ratel needs to be restarted or relaunched choosing the Ratel version from http://localhost:8000/
Note:
curl -X POST localhost:8080/alter -d 'name: string @index(term) .'
Is working, just to verify that some altering is working.