1 Answer
- Newest
- Most votes
- Most comments
0
At the time of writing, WebSocket API does not support query strings or headers in the template. You can take a look all supported variables here:
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-mapping-template-reference.html
I agree that it makes sense to support query strings/headers in the template for the $connect route while it does not for other routes. I'll create a backlog for this.
answered 5 years ago
Relevant content
- Accepted Answerasked 5 months ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago