You can create a WebSocket request from the sidebar in Postman.
Select New > WebSocket to open a raw WebSocket request in a new tab. You can also select New > Socket.IO to open a Socket.IO request in a new tab. (In the Postman desktop app, you can also select ⌘+N or Ctrl+N.)
Enter the WebSocket server URL. A WebSocket URL begins with ws://
or wss://
.
Select Connect.
To disconnect your WebSocket request's connection, select Disconnect.
If you're using the Postman web app, for the best experience consider using the Postman Desktop Agent. See About the Postman Agent for more information.
Last modified: 2024/05/30