* Unauthorized command (disabled in config file): 403 Forbidden.
* Unauthorized command (disabled in config file): 403 Forbidden.
# Command format
# Command format
The URI `/COMMAND/arg0/arg1/.../argN` executes the command on Redis and returns the response to the client. GET and POST are supported:
The URI `/COMMAND/arg0/arg1/.../argN.ext` executes the command on Redis and returns the response to the client. GET and POST are supported:
* `GET /COMMAND/arg0/.../argN`
* `GET /COMMAND/arg0/.../argN.ext`
* `POST /` with `COMMAND/arg0/.../argN` in the HTTP body.
* `POST /` with `COMMAND/arg0/.../argN` in the HTTP body.
Special characters: `/` and `.` have special meanings, `/` separates arguments and `.` adds a file extension to change the Content-Type. They can be replaced by `%2f` and `%2e`, respectively.
`.ext` is an optional extension; it is not read as part of the last argument but only represents the output format. Several formats are available (see below).
Special characters: `/` and `.` have special meanings, `/` separates arguments and `.` changes the Content-Type. They can be replaced by `%2f` and `%2e`, respectively.
# ACL
# ACL
Access control is configured in `webdis.json`. Each configuration tries to match a client profile according to two criterias:
Access control is configured in `webdis.json`. Each configuration tries to match a client profile according to two criterias: