I wanted to Use Subscribe command In Websocket request

But I am un able to send a Null character at the End. Can some one please help how to send subscribe command through postman, or Like how to send a subscribe command through new websocket

Hey @Pavan0302 :wave: Welcome to the Postman Community :tada:

Thanks for trying out our new WebSocket feature :smiling_face_with_three_hearts:

Can you please post your query in the below thread so that our engineers can answer your question?

I’m having the same problem. Sending text through the websocket, but need to null terminate the text (think C strings - null terminated). I haven’t found a way to add a null (\000 hex 0x00) to the end of the text.

The solution which worked for me is creating a global variable for the NUL character:
postman.setGlobalVariable("NULL_CHAR", '\0');

Then, whenever you need to use it for WS, just call the variable with {{NULL_CHAR}}