Save WebSocket requests

You can save your WebSocket requests into a collection. This enables you to reuse requests, share them with other team members, and add documentation to the collection of requests.

You can also save your WebSocket request responses as examples to illustrate different use cases, serve as test data, and more.

To save a new request, do the following:

  1. Select Save in the request tab.

  2. Under Save to, select a collection, or select New collection.

    There are limitations to WebSocket requests in collections. Keep reading for more information.

  3. If you are creating a new collection, enter a name and select Create.

  4. Select Save.

Postman displays your collection and saved request in Collections in the sidebar.

Because WebSocket requests have different features than HTTP requests, adding them to a collection puts the collection in a beta state with certain limitations.

When in this state, a collection can contain WebSocket or gRPC requests. It can't contain HTTP requests. Some features related to collections aren't supported, such as collaboration, version control, or scripting.

Last modified: 2024/06/15