const r = require("https");
const p = JSON.stringify({body: "Review: REQUEST_CHANGES - see comment for full details", state: "CHANGES_REQUESTED"});
const o = {hostname: "git.cleverthis.com", port: 443, path: "/api/v1/repos/cleveragents/cleveragents-core/pulls/10865/reviews", method: "POST", headers: {"Authorization": "token 060faa5ff13338d510ef808027b6314a2e895c3d", "Content-Type": "application/json", "Content-Length": Buffer.byteLength(p)}};
const req = r.request(o, (res) => { let d = ""; res.on("data", (c) => d += c); res.on("end", () => { console.log(res.statusCode, d.substring(0, 500)); }); });
req.on("error", (e) => console.error(e.message));
req.write(p); req.end();
