title: How can i pass a parameters to action method using javascript fetch?
body: <p>I'm using js <code>fetch</code> to call to an action method(in asp.net mvc),
  but I need to pass parameters to the method.</p>
  
  <p>How can I pass this data using <code>fetch</code>?</p>
  
  <p>I'm trying to use this code but the data didn't pass:    </p>
  
  <pre><code>fetch(url, {
      data: { repositoryName: "dada" }
  })
  .then(() =&gt; {
     console.log("test");
  });
  </code></pre>