Create cshtml templates for html responses. Send command to api as form data.