title: How to post dictionary values from Postman to a .net core 3.1 API
body: <p>I'm creating a simple Web API using .Net core 3.1 and I am having issues successfully posting a dictionary using Postman.</p>
  
  <p>I have the following controller action:</p>
  
  <pre><code>[HttpPost("{id}/metas")]
  [ProducesResponseType(typeof(Meta), 201)]
  public async Task&lt;IActionResult&gt; CreateMeta([FromForm] NewMeta newMeta)
  {
      return Ok();
  }
  </code></pre>
  
  <p>The NewMeta currently looks like this:</p>
  
  <pre><code>public class NewMeta
  {
  
      /// &lt;summary&gt;
      /// File descriptors
      /// &lt;/summary&gt;
      public Dictionary&lt;string, object&gt; Refs { get; set; }
  
      /// &lt;summary&gt;
      /// Associated file
      /// &lt;/summary&gt;
      public IFormFile File { get; set; }
  
  }
  </code></pre>
  
  <p>I am trying to use Postman to POST dictionary data as well as a file. </p>
  
  <p>I've tried using the various Key/Value settings within postman. An example shown in the images.</p>
  
  <p><a href="https://i.stack.imgur.com/7wmAo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7wmAo.png" alt="enter image description here"></a></p>
  
  <p>Results in :</p>
  
  <p><a href="https://i.stack.imgur.com/IZY02.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IZY02.png" alt="enter image description here"></a></p>
  
  <p>How can i pass in a value? This API is early in its development so I can change anything that is needed. </p>