title: How to get token in HTTP from Amazon SNS subscription?
body: <p>How do I confirm the subscription of Amazon SNS via http? I'm currently using Rails for my application and would like to get notifications of my email bounces. So, I tried looking through Amazon forums and the closest I found was : <a href="https://forums.aws.amazon.com/thread.jspa?threadID=87555" rel="noreferrer">https://forums.aws.amazon.com/thread.jspa?threadID=87555</a> which tells me to use request.raw_post to get the request and the JSON parse it. However, when i tried doing so, it gives me an error saying that the request is empty. Am I doing it the right way? Can someone guide me on how to obtain the subscription token from Amazon SNS so that I can confirm my subscription? Thanks! :)</p>