title: Call MVC post method from postman and send parameters to it
body: <p>I need to test this mvc method from postman, it is working in Browser.</p>
  
  <pre><code>    [HttpPost]
      [Route("login")]
      public async Task&lt;ActionResult&gt; Login(LogInRequest logInRequest)
      {
          User user = null;
          if (ModelState.IsValid)
          {            
              .....
  </code></pre>
  
  <p>This is LogInRequest Class:</p>
  
  <pre><code>   public class LogInRequest
    {  
      [Required]
      public string UserName { get; set; }
      [Required]
      public string Password { get; set; }  
      public string Token { get; set; }
      public bool IsResetPassword { get; set; }
      public bool IsThankYouPage { get; set; }
       }
  </code></pre>
  
  <p>I am not sure how to sent the LogInRequest parameter using Postman. anything I try it is not hitting the breakpoints in first line of this method.</p>
  
  <p>This  is how I call the local URL and send parameter to this method.</p>
  
  <p><a href="https://i.stack.imgur.com/RGC8q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RGC8q.png" alt="enter image description here"></a></p>