Websocket API gateway dynamic endpoint URL

0

In the HTTP api, I can use path variables as documented here - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-routes.html

In the REST api, I can change headers, query params, etc... as documented here - https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings-execution-console.html

I've seen this question answered previously, but the response didn't work - https://repost.aws/questions/QUNG4xg_hiSNSukzILneVkgQ/api-gateway-websocket-integration-with-rest-endpoint

No such documentation exists for the websocket API and it's strange that it's not supported. I can't map variables required in my API to be in the path or query params with my express.js routing system. It's a major limitation. It seems that the endpoint URL is fixed. Is there any way around this?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인