Feature Request: Show Socket.IO event payload objects as JSON instead of [object Object] #9354
Unanswered
driannaird
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Insomnia team 👋
I’m using Insomnia to test a Socket.IO backend, and I’ve noticed that when I emit an event with a JavaScript object as the payload, Insomnia displays it as:
This makes it hard to inspect the actual data being sent.
Current behavior
On the server (Node.js + Socket.IO), I’m emitting an object like this:
It looks like Insomnia is calling something equivalent to String(arg) on the payload, which is why it becomes [object Object].
Thank you for considering this feature! 🙏
Beta Was this translation helpful? Give feedback.
All reactions