I want to use the playstream event pipe with a webhook to my local server. I'm using a .js application to listen to a port, which first was only working from Postman, I had to create a new title to make it work, maybe it would have solved itself after some time but that at least worked for me. Now events are received but the Body is empty.
if I take that json file from the debugger and post it into Postman ( shortened here) it works fine
code for the endpoint is :
const express = require("express"); const app = express(); const bodyParser = require("body-parser");
app.use(bodyParser.json());
app.post("/ReportEvent",(req,res)=>{
console.log("getdata");
console.log("req.body ",req.body);
});
const server = app.listen(44444 ,()=>{
console.log("Server started on port ",server.address().port);
});
what am i doing wrong , how do i get the full event json file from the webhook?