title: Using, in a aws LAMBDA, parameters of axios
body: <p>I use reactjs to create a web page, and I need to use <code>GET</code> from axios to send some parameters to my lambda.</p>
  
  <p>For that i'm using this code: </p>
  
  <pre><code>await axios.get("endpoint-API",
    { params: {
  resultat_net_N1:`${resultat_net_N1_form}, ${resultat_net_N1}, ${resultat_net_N1_form_1}, ${resultat_net_N1_1}`,
  resultat_net_N: `${resultat_net_N_form}, ${resultat_net_N}, ${resultat_net_N_form_1}, ${resultat_net_N_1}`,
                }
           }
      )
  </code></pre>
  
  <p>And my lambda is :</p>
  
  <pre><code>exports.handler = (event, context, callback) =&gt; {
      console.log(event.queryStringParameters)
      //or
      // console.log(event.pathParameters )
      const response = {
      statusCode: 200,
      headers: {
          'Access-Control-Allow-Origin': '*',
          'Access-Control-Allow-Credentials': true,
      },
      body: JSON.stringify('Hello from new Lambda!'),
     };
  };
  </code></pre>
  
  <p>But when i'm trying to use this codes, my lambda is printing all the time <code>undefined</code>.
  Which brings me to my question, are there a few things I do wrong in my way of sending these parameters with get? or on the lambda aws?
  I also used the following method, and I had the same problem: </p>
  
  <pre><code>axios.get('my_endpoint/?foo=bar')
  </code></pre>
  
  <p>Thanks for the help</p>