title: Making a POST request using puppeteer with JSON payload
body: <p>I'm trying to make a POST request using puppeteer and send a JSON object in the request, however, I'm getting a timeout... if I'm trying to send a normal encoded form data that at least a get a reply from the server of invalid request...
  here is the relevant part of the code</p>
  
  <pre><code>await page.setRequestInterception(true);
      const request = {"mac": macAddress, "cmd": "block"};
      page.on('request', interceptedRequest =&gt; {
  
          var data = {
              'method': 'POST',
              'postData': request
          };
  
          interceptedRequest.continue(data);
      });
      const response = await page.goto(configuration.commandUrl);     
      let responseBody = await response.text();
  </code></pre>
  
  <p>I'm using the same code to make a GET request (without payload) and its working</p>