REST API Explorer

SmartDeno exposes a RESTful interface for managing users in the Deno KV database. Try the GET requests directly in your browser or run them in Postman.

Querying Users

GET
/api/v1/user
Retrieve a list of all registered users (excluding passwords).
Send Request
GET
/api/v1/user/guest
Retrieve details for an existing user (e.g., guest).
Send Request
GET
/api/v1/user/nonexistent
Test response behaviour for a user that does not exist.
Send Request

Modifying Database

POST
/api/v1/user
Create a new user entry in Deno KV. Send request with JSON body:
{
  "username": "my_new_user",
  "password": "my_new_password"
}
DELETE
/api/v1/user/:username
Remove an existing user from the database. Replace :username with the username.