title: Payload content length greater than maximum allowed: 1048576 - Axios (Electron) and nodeJS
body: <p>I'm requesting my node API server from my Electron app and I got this error :</p>
  
  <pre><code>body: '{"statusCode":400,"error":"Bad Request","message":"Payload content length greater than maximum allowed: 1048576"}'
  </code></pre>
  
  <p>I send Base 64 encoded images. With Http-client from my Angular website, the request works well, but with Axios (Electron), it doesn't work.</p>
  
  <pre><code> updateUser: function(user, callback) {
        axios.post(environnement.urlServer+'update-user', {
          user: user
        })
        .then((response) =&gt; {
          callback(response.data);
        }, (error) =&gt; {
          console.log(error);
        });
      }
  </code></pre>
  
  <p>My node server got limitation increased :</p>
  
  <pre><code>app.use(bodyParser.json({limit: "100mb", extended: true}))
  app.use(bodyParser.urlencoded({limit: "100mb", extended: true}))
  
  </code></pre>
  
  <p>I tried many things but I didn't find a solution.</p>