-
We use OrientDB 3.x and want to migrate to ArcadeDB. The OrientDB allows an unauthenticated HTTP request |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You can call the curl -X GET http://localhost:2480/api/v1/server --user root:arcadedb-password Look at: https://docs.arcadedb.com/#HTTP-ServerInfo Unfortunately, it requires a server user. We believe it's risky to expose server information to the public for attacks. Apart from the root user created the first time you run the server, how do you create a new user? Unfortunately, we didn't provide a script to manage users easily. We should do that from the console. I'm going to open an issue about it. Via code: ArcadeDBServer server = new ArcadeDBServer();
server.start();
...
server.getSecurity().createUser(new JSONObject().put("name", "elon").put("password", SECURITY.encodePassword("musk"))); |
Beta Was this translation helpful? Give feedback.
You can call the
/server/
HTTP API:curl -X GET http://localhost:2480/api/v1/server --user root:arcadedb-password
Look at: https://docs.arcadedb.com/#HTTP-ServerInfo
Unfortunately, it requires a server user. We believe it's risky to expose server information to the public for attacks.
Apart from the root user created the first time you run the server, how do you create a new user? Unfortunately, we didn't provide a script to manage users easily. We should do that from the console. I'm going to open an issue about it.
Via code: