pub fn serve(module: Module, addr: &str) -> Result<(), Box<dyn Error>>
Serve a compiled module as a REST API.
Endpoints:
GET /
POST /actions/{name}