I am trying to create a socket server using node js and express but it returns the following error:
Error in Postman
This is my code:
App is an express server running on 5000
`
I have tried using Server from socket and also using socket.io-client. I am new to socket and can’t figure out what is wrong as this same code snippet works in a blank project I am setting up but not on the project I am working on