2025-03-10, 01:50 AM
Howdy. For reference, I have never really done BE work before, my experience has been almost exclusively FE work, so go easy on me when I ask this. I have been in the process of trying to add a "Are you still watching" screen per the feature requests and I am tracking when you meet the condition for this screen to display on the server. The base conditions I am working off of, is there should be 2 episodes of media with no input interaction, and then 2 minutes into the 3rd episode the screen would appear. From what I can tell, there is no reporting we do if an input is registered in general, just if an input is on a registered button (ie a click on a button), so I have needed to create another endpoint for any input at all, which would be consumed in the different clients when the screen is implemented. I believe I have created the endpoint and logic correctly and I tried using postman to test if the endpoint does what I expect, but I just get an ECONNREFUSED error, which tells me I have something not configured correctly, but idk what. Should I be able to access my POST endpoint at url http://localhost:8096/Sessions/Playing/Interacted just by having my server running and hitting that endpoint? If this isn't enough to go off of I can push my branch and share a link to my commit if that's easier too. Thanks.