title: How to place path variable in Get request in React?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    componentDidMount() {
          axios.get('/api/v3/products', {
              params: {
                  pageNumber: 1,
                  pageSize: 500,
              }
          })</code></pre>
  </div>
  </div>
  </p>
  
  <p>I know how to place params in Get request, but don't know how to place a path variable, could somebody help?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;Route path='/product/:id' component={Product}/&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>tried to write "/product/:path", but I think, it doesn't make any sense.</p>