http - SQL commands not available in Orientdb REST api -


i trying post commands orientdb using rest api. when post following json:

{ "command" : "select * system" } 

i response:

    {       "errors": [         {           "reason": 500,           "content": "com.orientechnologies.orient.core.command.ocommandexecutornotfoundexception: cannot find command executor command request: sql.{\n\"command\" : \"select system\"\n}",           "code": 500         }       ]  } 

however, command works on url

http://localhost:2480/command/demo1/sql/select * system 

but not in json.

it possible version 2.2 of orientdb. documentation http://orientdb.com/docs/2.1/orientdb-rest.html#command


Comments