You can use Postman variables in the URL of a WebSocket connection or the body of a message. For example, you can create a variable named my_host
, set the value to example.com
, and then use ws://{{my_host}}/api/example
as a URL. If you enter {{
in either the URL box or message editor, you can autocomplete your variables.
See Using variables for more information on how to store and reuse values in Postman.
Last modified: 2023/11/01