title: 415 Unsupported Media Type when using Postman and Asp Web Api
body: <p>Why do I get a status of 415 "Unsupported Media Type" when I use Postman to create a new Item. I get the desired results if I use the GetAll but not when I try to create something. Code is below:</p>
  
  <pre><code>[HttpPost]
  public IActionResult Create([FromBody]TodoItem item)
  {
      if (item == null)
      {
          return BadRequest();
      }
      _context.TodoItems.Add(item);
      _context.SaveChanges();
  
      return CreatedAtRoute("GetTodo", new { id = item.Id }, item);
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1wrg2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1wrg2.png" alt="enter image description here"></a></p>