title: can't make react js or postman api request to strava api
body: <p>I have been using different end points with the strava api but have run into some issues when trying to make a request to this particular endpoint now there is documentation on how to make the request using an instance in javascript but I wanted to make it using axios my issue seems to be I cannot seem to get the right url to make the request after trying countless different ones.</p>
  <p>I want to make the request to this one to get the stats about one of my workouts the workout has the id=7825986552, I have written code to make the call and tried to make the call in postman but none work.</p>
  <p>Here is the docs for the endpoint I am using:
  <a href="https://developers.strava.com/docs/reference/#api-Activities-getActivityById" rel="nofollow noreferrer">https://developers.strava.com/docs/reference/#api-Activities-getActivityById</a></p>
  <p>Here is code for the call without my access token included for obvious reasons and where id is the id I have stated above:</p>
  <pre><code>const link =
      &quot;https://www.strava.com/api/v3/athlete/activities/&quot; + id;
    useEffect(() =&gt; {
      const fetchData = async () =&gt; {
        const stravaResponse = await axios.get(
          `${link}?access_token=ACCESS_TOKEN_VAR`
        );
      };
      fetchData();
    }, []);
  </code></pre>
  <p>I have also tried it in postman with a GET request:</p>
  <blockquote>
  <p><a href="https://www.strava.com/api/v3/activities/%7B7825986552%7D?access_token=ACCESS_TOKEN" rel="nofollow noreferrer">https://www.strava.com/api/v3/activities/{7825986552}?access_token=ACCESS_TOKEN</a></p>
  </blockquote>
  <p>but nothing works does anyone know the correct format or how to make the request?</p>