title: How to pass string in post request body in postman
body: <p>I have an POST API end point, i.e.</p>
  
  <pre><code>[Route("api/{parameter1}/employee")]
  [HttpPost]
  public Employee RegisterEmployee(string parameter1, [FromBody] string parameter2)
  </code></pre>
  
  <p>Now, I want to hit this API from postman.</p>
  
  <p>My request URL is:</p>
  
  <pre><code>http://localhost:xxxxx/api/parameter1/employee
  </code></pre>
  
  <p>And the body is:</p>
  
  <p><a href="https://i.stack.imgur.com/OSumF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OSumF.png" alt="enter image description here"></a></p>
  
  <p>So, in this way i am getting: 415 Unsupported Media Type error.</p>
  
  <p>If i try other ways then i am able to hit the API, <strong>but parameter2 is always coming as null</strong>.</p>
  
  <p>So, how should i pass the parameter2 value in postman?</p>