I have created a WebSocket API in AWS API Gateway. When I connect to it from the browser, I want the client to immediately receive the connection id over the websocket. Is is possible to achieve this only with API Gateway with Mock integration, without adding a lambda function?
I tried to add a $default route and enable two-way communication, but still don’t receive a message on connect. I also tried to add an integration request on the $connect route, but still no success.
3