Can SMS message be sent via SNS using a REST API endpoint (HTTP)?

0

We use a number of AWS services in our web application (mail, db, etc). We want to add SMS messaging, but it seems like the SNS service can only be called using the Amazon SDK for specific languages. We don't want to build the SDK into our web app just for this one function. Is there a way to send SMS messages in AWS by calling a REST endpoint (e.g. HTTP invocation)?

gefragt vor 9 Monaten591 Aufrufe
1 Antwort
1

If I understood your question correctly, you want to know if you can send a message to SNS through it's API directly, without using any SDK, right ? Then you would have SNS itself to send the SMS to the mobile phone.

If that's the case then yes. It's completly possible to send messagens to an SNS topic directly through a REST API.

Here you can find the complete SNS API Reference Guide: https://docs.aws.amazon.com/sns/latest/api/welcome.html

Check here for documentation and best practices on using SNS to send SMS messages.

https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html

Hope this helps you.

beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen