You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ajaysehwal (via GitHub)" <gi...@apache.org> on 2025/05/16 14:43:00 UTC

Re: [I] help request: How to pass Host in headers for websockets in browser [apisix]

ajaysehwal commented on issue #12213:
URL: https://github.com/apache/apisix/issues/12213#issuecomment-2886024393

   > > without host header we can't access route
   > 
   > Can you explain this in detail?
   
   To access the APIsIX route, we need to pass the host and apikey params in the headers, but if you use the websocket route and we use some frontend framework and try to connect with the apsix websocket route so we are not able to connect because they require a host header, or we can't send headers in the browser, so it possibility to pass host in query instead of headers
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org