I'm working on a bot and I keep getting a 403 error when trying to connect to the server through ws. From what I've found online the problem seems to be the Origin header. Is there any way I can spoof the Origin header in node.js with socket.io? (NOT BROWSER)
            Asked
            
        
        
            Active
            
        
            Viewed 417 times
        
    1
            
            
        - 
                    1Did you check this out: https://stackoverflow.com/a/4361358/1043231 – Dominik Jun 29 '20 at 20:37
 - 
                    I don't see how I can use that to change my origin header. Sorry, I'm kinda new to this. – Programmer NZ Jun 29 '20 at 21:32
 - 
                    You need to share some code you tired so we can help you – Dominik Jun 29 '20 at 22:14