I am trying to send a message back from AWS API gateway websocket which has been routed to my lambda.
I am currently able to retrieve the connectionID but I seem to have some trouble sending a message back to the connection using python or postman.
Following the docs, I have been sending post requests to the following:
https://<API_ID>.execute-api.ap-southeast-1.amazonaws.com/<STAGE>/@connections/<connectionID>
Can anyone verify if I am doing this correctly? I seem to be getting the following response
{
"message": "Missing Authentication Token"
}
Is there supposed to be an Auth Token to be parsed to the websocket api?
Solved it, apparently I needed to include my AWS authorisation in Postman. Head to Authorization and select AWS Signature
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With