<p dir="auto">Is it possible to add a global interceptor for all calls like we set <code class="notranslate">baseUrl</code> and authorization header?</p>
<p dir="auto"><strong>Describe the bug</strong><br>
I created a instance with a param in it, but it doesn't seem to work</p>
<p dir="auto">I Have already decleared a instance axios in my js file</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const instance = axios.create({
  baseURL: '/',
  params: {
    secret: 123
  }
})"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
  <span class="pl-c1">baseURL</span>: <span class="pl-s">'/'</span><span class="pl-kos">,</span>
  <span class="pl-c1">params</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">secret</span>: <span class="pl-c1">123</span>
  <span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">I want to send a request like this<br>
<strong>/api/logout.json?secret=123</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="instance.get('/api/logout.json)
   .then((res) =&gt; {
   dispatch(changeLogin(false))
})"><pre class="notranslate"><span class="pl-s1">instance</span><span class="pl-kos">.</span><span class="pl-c1">get</span><span class="pl-kos">(</span>'/api/logout.json)
   .then((res) =&gt; {
   dispatch(changeLogin(false))
})</pre></div>
<p dir="auto">but after I use this instance to send a request<br>
the request is only <strong>/api/logout.json</strong></p>
<p dir="auto"><em>What is this problem, did instance doesn't received params?</em></p>