Skip to content

How can I send headers for the handshake with the browser APIs WebSocket? #5002

Discussion options

You must be logged in to vote

Hi!

How can I send headers for the handshake with the browser APIs WebSocket?

This is not possible, as the WebSocket API in the browser does not provide a way to send HTTP headers. Postman can do it because it's a Node.js client under the hood.

References:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jonasfroeller
Comment options

Answer selected by jonasfroeller
Comment options

You must be logged in to vote
1 reply
@guest271314
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants