title: react js fetch net::ERR_ABORTED 413 (Payload Too Large)
body: <p>I am sedning large csv file from react to laravel through fetch api but on sending large csv , it sends error</p>
  
  <pre><code>fetch net::ERR_ABORTED 413 (Payload Too Large)
  </code></pre>
  
  <p>in fetch i have tried to add properties to add increase size </p>
  
  <pre><code>fetch(url, {
          limits:{fileSize: '1gb'},
          headers: {..... },
          body: JSON.stringify({'uploadedData': result.data,limit: '500mb'}),
      })
      .then(response =&gt; response.json())
      .then(json =&gt; {
          console.log(json)
      })
  </code></pre>
  
  <p>but err is still same , 
  i found other solution but they are for node and express js </p>
  
  <pre><code>app.use(bodyParser.json({limit: '50mb'}))
  </code></pre>
  
  <p>Please suggest</p>