diff --git a/controller/api.go b/controller/api.go index 5302a7e1..05195103 100644 --- a/controller/api.go +++ b/controller/api.go @@ -51,7 +51,7 @@ func (api *API) respondWithError(w http.ResponseWriter, err error) { } func (api *API) HomeHandler(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "Fission API") + fmt.Fprintf(w, "{message: \"Fission API\", version: \"0.1.0\"}\n") } func (api *API) Serve(port int) {