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?

已提问 2 个月前120 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则