title: aws sns confirm subscription request processing issue
body: <p>I am trying to implement the aws sns service for a bucket in s3 and i am following this document <a href="https://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html" rel="noreferrer">https://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html</a>
  according to this there will be subscribe url in the request for the confirmation subscription which will be coming to the url that we provide, but i am receiving empty body in the request.
  I tried to log the body but gave me an empty object. and tried by using the bodyparser but same result.</p>
  
  <p>here is my route that i am implementing.</p>
  
  <pre><code> router.post("/s3FileCallback", function (req, res) {
        debugger;
        var bodyParser = require('body-parser');
        var app = express();
        app.use(bodyParser.urlencoded({ extended: false }));
        app.use(bodyParser.json())
        if (req.get("x-amz-sns-message-type") == "SubscriptionConfirmation") {
          console.log("arn" + req.get("x-amz-sns-topic-arn"));
          const subscribeUrl = req.body.SubscribeURL;
          console.log("subscribeUrl" + subscribeUrl);
  })
  </code></pre>
  
  <p>is there any thing i am missing. can any one point me in right direction please.</p>