title: problem with axios get error 400 bad request
body: <p>I have been stuck for quite a while because when I launch a call to my API to retrieve data (therefore a GET method) I have a 400 bad request error off on postman I manage to retrieve the data in status 200. However in my axios I pass the parameters well as well as the useful headers.</p>
  <p>Code axios status 400 :
  <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>async getAssociatedPlant() {                
                  this.$axios.$get('lnk/plant/plants', {
                      headers: {
                          "Content-Type": "application/json",
                      },
                      params: {
                          link: "good",
                          plant_id: this.plantActive.id,
                      },
                      
                  })
                      .then(response =&gt; {
                          console.log(response) 
                      }).catch(error =&gt; {
                          console.log(error)
                      });
              },</code></pre>
  </div>
  </div>
  </p>
  <p>Image useful for understanding :</p>
  <p><a href="https://i.stack.imgur.com/YCiLJ.png" rel="nofollow noreferrer">Postman Headers status 200 OK</a></p>
  <p><a href="https://i.stack.imgur.com/oVoKX.png" rel="nofollow noreferrer">Postman Params status 200 OK</a></p>
  <p><a href="https://i.stack.imgur.com/qaVA4.png" rel="nofollow noreferrer">Erreur  400 bad request</a></p>
  <p><a href="https://i.stack.imgur.com/UDiBS.png" rel="nofollow noreferrer">Request Payload</a></p>
  <p><a href="https://i.stack.imgur.com/d63Fo.png" rel="nofollow noreferrer">Request Response</a></p>