title: send request using Fetch method
body: <p>I need to send request using 'fetch' method. I need to send below data to my header</p>
  <p><a href="https://i.stack.imgur.com/6a3Au.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6a3Au.png" alt="enter image description here" /></a></p>
  <p>I need to send below data in request body</p>
  <p><a href="https://i.stack.imgur.com/dFW4Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dFW4Y.png" alt="enter image description here" /></a></p>
  <p>i am trying to do it using below code. but actually I have not proper idea to do it. can u help me.</p>
  <pre><code> fetch(&quot;http://disaida.com/api/endpoint/&quot;, {
    method: &quot;post&quot;,
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      PREPAY: ppy,
      InputParameters: int
    })
  })
  .then( (response) =&gt; { 
    
  });
  </code></pre>