title: Report Portal Does not Attach Logs to Report
body: <p>I am working on a way to send report logs to report portal with screenshots attached. I am using XmlHttpRequest module to hit the report portal log endpoint. here is my code.  But this code doesn't work, instead I get a &quot;json_request_part is missing&quot; response message. What am I doing wrong, I followed the docs here <a href="https://github.com/reportportal/documentation/blob/master/src/md/src/DevGuides/reporting.md#batch-save-logs" rel="nofollow noreferrer">docs</a></p>
  <pre><code>  try {
      const request = new XMLHttpRequest();
  
      const body = {
      itemUuid: 'gsgasgh-dsjdbbdjsbd',
      launchUuid: 'hshu1qqqqjjhdh-ddjdh',
      time: '1555677888',
      message: 'failed',
      level: 40000,
      file: {
        name: 'screenshot.png',
      },
  
    };
  
      request.open('POST', `http://rp.com/my_project/log`, false); // `false` makes the request synchronous
      request.setRequestHeader('Content-Type', 'multipart/form-data');
      request.setRequestHeader('Authorization', `Bearer ${config.token}`);
      request.send(JSON.stringify(body));
  
      if (request.status &gt;= 200 &amp;&amp; request.status &lt;= 299) {
        const { responseText } = request;
        console.log(responseText);
      } else {
        console.log(`Unexpected Response Returned: ${request.responseText}`);
      }
    } catch (error) {
      console.log(error.message);
    }
  };
  </code></pre>