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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南