title: How does postman app set request body for a GET request
body: <p>When I was trying in browser to send a GET request with data from bootstrap datatable ajax to a C# MVC controller method, not all the data that was send was mapped to the model object. Some properties in the model object still remained with null/default value. </p>
  
  <p>I verified the property names and no issues in that. But when I did the same thing in postman app the data was successfully bound to the model object. </p>
  
  <p>Two things that I noted in the postman app is that:</p>
  
  <ol>
  <li><p>The request data is not send in the query string parameter rather in
  the request body with still the method type as <strong>GET</strong> (I don't know
  how that is possible), but in browser as usual the data was URL
  encoded and was sent as query string parameter.</p></li>
  <li><p>In post man app the request headers also contains "Content-Type"
      header with "application/json" as value.</p></li>
  </ol>
  
  <p>So I also tried with "Content-Type" header with "application/json" but still no use the data was not bound.</p>
  
  <p>Finally I chose the common way, I just set the "Content-Type" header with "application/json", stringified the data with JSON.stringify and I set the type as "POST" and it successfully got mapped. </p>
  
  <p>What I got struggling is, how does the postman app alone can send a GET request like that with data in the request body.</p>
  
  <p>If anyone has idea about this please tell me that would help me to have an idea about the HTTP requests.</p>
  
  <p>1.) PostMan - GET Request Format
  <a href="https://i.stack.imgur.com/7g1Cc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7g1Cc.png" alt="PostMan - GET Request Format"></a></p>
  
  <p>2.) PostMan - Get Request Network Data
  <a href="https://i.stack.imgur.com/Y4fiH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y4fiH.png" alt="PostMan - Get Request Network Data"></a></p>
  
  <p>3.) PostMan - Get Request Network Data - Raw Format
  <a href="https://i.stack.imgur.com/j9JW9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j9JW9.png" alt="PostMan - Get Request Network Data - Raw Format"></a></p>
  
  <p>4.) Backend - Contoller Received Data
  <a href="https://i.stack.imgur.com/i27Z2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i27Z2.png" alt="Backend - Contoller Received Data"></a></p>
  
  <p>1.) Browser - GET Request Format
  <a href="https://i.stack.imgur.com/VYSUx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VYSUx.png" alt="Browser - GET Request Format"></a></p>
  
  <p>2.) Browser - Query String Parameters
  <a href="https://i.stack.imgur.com/75IJb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/75IJb.png" alt="Browser - Query String Parameters"></a></p>
  
  <p>3.) Backend - Contoller Received Data
  <a href="https://i.stack.imgur.com/Y5BFn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y5BFn.png" alt="Backend - Contoller Received Data"></a></p>