[HTTP API] Server Commands are Case Sensitive (original) (raw)

ArcadeDB Version:

ArcadeDB Server v23.9.1-SNAPSHOT (build a7cad1e00cd9290d748bdf6d998f8d73b89e116f/1693511059501/main)

OS and JDK Version:

Running on Mac OS X 12.6.8 - OpenJDK 64-Bit Server VM 17.0.8 (Homebrew)

The server commands appear to be case sensitive as reported in Discord.

Expected behavior

Actual behavior

{ "error" : "Server command not valid"}

Steps to reproduce

curl -X POST http://localhost:2480/api/v1/server -d '{ "command": "CREATE DATABASE mydatabase" }' -H "Content-Type: application/json" --user root:arcadedb-password

This is the docs "create database example" with upper case command.