ASP.NET Core Ajax returns null – Jquery ajax
function addTeam() { var teamName = $("teamField").val(); $.ajax({ type: "POST", url: 'AddTeam', contentType: "application/json;", data: { team: "HELLO PLEASE WORK" }, success: function () { alert("URA"); }, error: function (error) { alert(error); } }); }; [HttpPost] public JsonResult AddTeam(string team)…