Postdata Documentation home page
Search...
⌘K
Github
Github
Search...
Navigation
Realtime API
Socket.IO
Documentation
Guides
Support
Blog
Changelog
Getting started
Introduction
Quick start
Clients
Setup
Troubleshooting
RESTful API
GraphQL API
Realtime API
Websocket
Socket.IO
SSE
MQTT
Clients
Web
Desktop
CLI
Protocols
RESTful
GraphQL
Realtime
Features
Workspaces
Collections
Runner
Variables
Environments
Personal Access Token
History
Spotlight
Shortcuts
Scripts
Importer
Customization
Inspections
Cookies
Client Certificate
Code Snippets
Context Menu
Widgets
Authorization
RESTful API
GraphQL API
Realtime API
Resources
Community
Contributors
Changelog
Develop
i18n
On this page
Connect to a socket.io server
Sending messages
Troubleshooting
Realtime API
Socket.IO
Learn how to use the Socket.IO testing tool in Postdata.
The Postdata Socket.io testing tool lets you test out your socket.io services.
Connect to a socket.io server
Add the “
URL
”, “
path
” and click on “
Connect
”.
Listen to events broadcasted by the server, shown in the log.
Use the sidebar to add an event name and send messages to the server.
Sending messages
Write your message in the “
Message
” input field under the “
Communication
” tab and click on the “
Send
” button. Type in the “
Event
” input field to send a message with an event name. The message you send will be displayed on the “
Logs
” pane.
Troubleshooting
Make sure you enter a valid socket.io URL, they always start with the protocol format
ws://
.
Do not add an invalid/incorrect authorization token before you connect to a socket.io server.
Was this page helpful?
Yes
No
Websocket
SSE
Assistant
Responses are generated using AI and may contain mistakes.