mirror of https://gitee.com/bigwinds/arangodb
changed to /_api
This commit is contained in:
parent
88e4bf6c63
commit
6ef9472904
|
@ -75,7 +75,7 @@ namespace triagens {
|
|||
|
||||
// connect to server and get version number
|
||||
map<string, string> headerFields;
|
||||
SimpleHttpResult* result = _client->request(SimpleHttpClient::GET, "/_admin/version", 0, 0, headerFields);
|
||||
SimpleHttpResult* result = _client->request(SimpleHttpClient::GET, "/_api/version", 0, 0, headerFields);
|
||||
|
||||
if (!result->isComplete()) {
|
||||
// save error message
|
||||
|
|
Loading…
Reference in New Issue