title: php url-encoded vs RAW data in POSTMAN
body: <p>I am posting some data with angular as shown below</p>
  
  <pre><code>      var dataReq = {
               method: 'POST',
               url: FILE_LIST,
               headers: {
                 'Content-Type': 'application/x-www-form-urlencoded'
               },
               data: { jwt: 'some',date:storedDate }
              }
          return $http(dataReq);  
  </code></pre>
  
  <p>I want to know is this considered <strong>url-encoded</strong> data or <strong>raw data</strong>?</p>
  
  <p>I am extracting the data in PHP as follows</p>
  
  <pre><code>$postdata = file_get_contents("php://input");
  var_dump(json_decode($postdata));
  </code></pre>
  
  <p>This works and I am getting the data in the actual app.</p>
  
  <p>But when I test using POSTMAN I get <strong>null</strong> if the request is submitted in <strong>body>x-www-form-urlencode</strong></p>
  
  <p>I do get the result however if I submit the data in postman in <strong>body>>raw</strong></p>
  
  <p>So basically I need to understand the difference the two and how it is handled by the PHP server.</p>