title: Error when trying to authorize Axios get request
body: <p>I am trying to access the Uber API with Axios and I am running into some trouble. I have plugged this data into Postman and I get a 200 response code with no problems. However, when I try to make an Axios call, I get response code 401 unauthorized. Can I get some help looking through my code to find out why my authorization is not working correctly with Axios?</p>
  
  <p>Here is a link to the Uber API docs I am referencing. <a href="https://developer.uber.com/docs/riders/references/api/v1.2/estimates-price-get" rel="nofollow noreferrer">Uber API Reference</a></p>
  
  <pre><code>getRide_Uber = async (addressOrigin, addressDestination) =&gt; {
    let origin = await geocodeAddress(addressOrigin);
    let destination = await geocodeAddress(addressDestination);
  
    const url = "https://api.uber.com/v1.2/estimates/price";
  
    const params = {
      params: {
        start_latitude: origin.lat,
        start_longitude: origin.lon,
        end_latitude: destination.lat,
        end_longitude: destination.lon
      }
    };
  
    const headers = {
      headers: {
        Authorization: `Token ${process.env.UBER_SERVER_TOKEN}`
      }
    };
  
    const response = await axios
      .get(url, params, headers)
      .then(function(response) {
        data = response.data;
      })
      .catch(function(error) {
        console.log(error);
      });
    return data;
  };
  </code></pre>
  
  <p>Please let me know if anything needs clarification. Thanks!</p>