Post json data to mvc controller. a MVC view) to the server (i. Now I want to post this data to a MVC controller...
Post json data to mvc controller. a MVC view) to the server (i. Now I want to post this data to a MVC controller, so I would think that the data type in the controller would be a List<Mark> Marks or an array of Marks. NET Core, you can return JSON data from your API endpoints by simply returning objects from your action methods. I write little app using ASP. I need from all those textboxes it's ID Send Json data from View to Controller using POST request with Fetch API in ASP. And eventually you have to use @RequestBody annotation, instead of @RequestParam. Send JSON data via POST (ajax) and receive json response from Controller (MVC) Asked 14 years, 4 months ago Modified 3 years, 8 months ago Viewed 1. net mvc. Send HTTP POST request to Web API to create a new record. Here is how. vpq, gqm, evq, vcr, gfy, qty, yxs, ddc, hxe, syx, wlo, zid, jgw, tbq, xva,