title: How to send header in postman via Php
body: <p>I am creating web service and i want to send "header" in postman via Php,How can i do this ? How can i send and get header using postman in php ? I tried with following code but i am getting response "please send access token",How can i fix this issue ? Thanks in advance.
  Here is my code </p>
  
  <pre><code>$tokens=apache_request_headers();
          $token=$tokens['access_token'];
          if(empty($token))
          {
                      $responseJSON = array("Status" =&gt; false,"Message" =&gt; "Please enter access token");
                      header("content-type:application/json");
                      $response = json_encode($responseJSON);
                      echo $response; 
          }
          else
          {
                  //your code
          }
  </code></pre>