throw a content type on there and see if that help...
# help
d
throw a content type on there and see if that helps?
‘Content-Type: application/json’
e
this is for a websocket command.
and tried adding that, no dice 😞
d
Sorry 😞
If it’s any consolation I’ve been stuck on my issue for almost 2 months now. Sometimes you get stuck on stuff that seems super simple. Gotta keep your head up and keep trying and learning!
e
i mean when i use postman or wscat it works fine.
t
Can you try triggering your websocket normally, looking in the console to see the payload
And copying it and using that
f
@Ernie Francis it seems the request is trying to parse a field that’s
undefined
You mentioned it works when you invoke from postman/wscat. Can you try invoking once from there, and then copy the request payload in the console as @thdxr suggested.