.Net Code 5.x 学习
1.请求错误Unsupported Media Type需要在参数添加标记[FromForm] [HttpPost] public async Task<ActionResult<User>> PostUser([FromForm] User user) { _context.Users.Add(user); await _context.SaveChan