@inject IHttpService httpService @using PanoptesFrontend.Services @code { string sqlQuery; private async Task ExecuteSqlQuery() { // Send the SQL query to your backend and handle the response var response = await httpService.PostAsync($"http://localhost:10000/sqlquery", sqlQuery); } }