public static Map<String, Object> createRequest(int id, String url, LinkedHashMap data) {
    Map<String, Object> request = new LinkedHashMap<>();
    Map<String, String> headers = new HashMap<>();
    headers.put("Content-Type", "application/json");
    request.put("headers", headers);
    request.put("id", id + "");
    request.put("method", "POST");
    request.put("url", url);
    request.put("body", data);
    return request;
  }
Creates a Graph API request object with required headers.

@param id the request id
@param url the request URL
@param data the data
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/common/RequestHelper.java