Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)
I need to send messages from Amazon SNS to the HTTP endpoint, but I couldn't find any proper documentation on how to do it. Can anyone provide me any simple example of how the SNS and HTTP endpoint will work together?

1 Answer

0 votes
by (12.4k points)

Here providing you a general picture of how to do it, 

First, create the topic and subscribe to some endpoints to receive messages and after you subscribed endpoint to the topic then an endpoint would receive a "Subscription Confirmation" message.

Then start to publish to the topic so that your endpoint will receive the notification messages.

Now on the subscriber's side,

Confirm subscription, make the HTTP GET request to the "SubscribeURL" URL which comes with the confirm subscription request.

So before you confirm the subscription, the endpoint will not receive any messages from SNS.

Once, done you would receive notification messages and can do what you want.

You can refer to the AWS documentation here for more details.

Want to learn more about AWS, then do check out AWS Course offered by Intellipaat. 

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...