title: How to pass dynamic parameters to axios instance
body: <p>I was just reading a css-tricks article on how to make you're API request DRY using axios <a href="https://css-tricks.com/stay-dry-using-axios-for-api-requests/" rel="nofollow noreferrer">HERE</a>. Now reacting something like this would work fine :</p>
  <pre><code>export default axios.create({
    baseURL: 'https://mysite/v3',
    headers: {
      'content-type': 'application/json'
    }
  })
  </code></pre>
  <p>The thing is what if i want to pass additional parameters to this instance ? I.E. i have another parameter that i would like to the header like so:</p>
  <pre><code>'X-USER-ACCESS-TOKEN': sessionToken,
  </code></pre>
  <p>Also what if i have multiple other options to pass to the header ?</p>