📡 BWS API Documentation

Served from port 8082 (api.localhost)

This site focuses on API documentation and testing.

Available API Endpoints

GET /api/health

Returns the server health status and timestamp.

curl http://api.localhost:8082/api/health

GET /api/file

Returns the content of a specified file.

curl "http://api.localhost:8082/api/file?path=config.toml"

GET /api/sites

Returns information about all configured sites (future feature).

curl http://api.localhost:8082/api/sites

Testing Multiple Sites

Main Site

Access the main site: http://localhost:8080

Blog Site

Access the blog: http://blog.localhost:8081

Dev Site

Access development: http://localhost:8083