title: how to use header in GET request in react native
body: <p>I have an issue in using header in GET request in react native.</p>
  
  <pre><code>    await fetch(Global.base_url + 'discount/category_list', {
          method: 'GET',
          headers: {
              "Auth": Global.user_token,
              "Accept": 'application/json',
              "Content-Type": 'application/json',
          }
      })
      .then(response =&gt; response.json())
      .then(data =&gt; {
          if(data.status == 1) {
              Global.category_list = data.data;
          } else {
              Alert.alert("Warning!", 'Error');
          }
  
      })
      .catch(function(error) {
          Alert.alert('Warning!', 'Network error.');
      });
  </code></pre>
  
  <p>I can't get response. Invalid token response. But in post man, it works well.
  <a href="https://i.stack.imgur.com/PLrjM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PLrjM.png" alt="postman screenshot"></a></p>
  
  <p>Please advance me if anyone can solve this issue. Thanks</p>