I have a .Net Core Web API that is returning a 415 Unsupported Media Error when I try to post some data to it that includes some json. Here\'s part of what is returned in t
This did the trick for me:
[HttpPost] [Consumes("application/x-www-form-urlencoded")] public IActionResult Post([FromForm]IFormCollection value)
Hope it helps