title: Axios get passing header not working if use query param as second argument
body: <p>I manage to use axios to do a GET request with header</p>
  
  <pre><code>fetchUsers = ({offset = 1, q = ''} = {}) =&gt; new Promise(function (resolve, reject) {
  
    const url = `localhost:3000/users`
  
    axios.get(url, {
      headers: { token: 123 }
    }).then(response =&gt; {
  
    })
  })
  </code></pre>
  
  <p>But I also want optional query param for pagination and search, I do</p>
  
  <pre><code>fetchUsers = ({offset = 1, q = ''} = {}) =&gt; new Promise(function (resolve, reject) {
  
    const url = `localhost:3000/users`
  
    axios.get(url, {params: {offset, q}}, {
      headers: { token: 123 }
    }).then(response =&gt; {
  
    })
  })
  </code></pre>
  
  <p>I don't see my token in the header anymore, any clue?</p>