title: Posting data return error with reqres API
body: <p>I am using <a href="https://reqres.in/" rel="nofollow noreferrer">reqres</a> API to do a login but it is 400 error which says</p>
  <pre><code>{
      &quot;error&quot;: &quot;Missing email or username&quot;
  }
  </code></pre>
  <p>I tried with postman but same error, this is my URL string from postman</p>
  <pre><code>https://reqres.in/api/login?email=eve.holt@reqres.in&amp;password=cityslicka
  </code></pre>
  <p>and I am using the following in JS</p>
  <pre><code>form.addEventListener(&quot;submit&quot;, function(e){
      const myData = 'email=eve.holt@reqres.in&amp;password=cityslicka'
      e.preventDefault();
      fetch(&quot;https://reqres.in/api/login&quot;, {
          method: 'post',
          headers : {&quot;Content-Type&quot;: &quot;application/x-www-form-urlencoded&quot;} ,
          body: {
              myData
          },
      })
  })
  </code></pre>