Input route parameters in WebSocket API with VPC Link integration

0

I have a WebSocket API with a VPC link integration. When supplying the EndPoint URL I would like to input a route parameter (e.g. /users/{userId}/info). However I don't seem to be able to substitute this for an actual value. I have tried to use the available variables such as $request.body.userId and $input.body.userId. I have also tried to supply the variable by mapping it using request templates, but nothing seems to work. Does anybody know if it at all possible and if so, how?

已提問 2 年前檢視次數 124 次
沒有答案

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

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

回答問題指南