An open API service indexing awesome lists of open source software.

https://github.com/realabbas/aws-sns-otp-api

AWS SNS OTP Restful API using Node.js - Express.js
https://github.com/realabbas/aws-sns-otp-api

api aws nodejs otpauth sns sns-notifications

Last synced: about 1 month ago
JSON representation

AWS SNS OTP Restful API using Node.js - Express.js

Awesome Lists containing this project

README

          

# AWS-SNS-SMS-OTP API in NodeJS (Express.js)

![aws-sns-otp-api nodejs repo github](./demo/aws-sns-otp-api.png)

### API Endpoint

`GET Request to / route` with following paramaters in the GET Request

- message `String`
- number `String`
- subject `String`

### Instructions

Send a GET Request from browser,

`http://localhost:3000/?message=[Message]&number=[Number]&subject=[Subject]`

The mobile number should be E.164 format but without the + character.

*Example:*

You want to send a message to a number,

The country code is 44

The mobile number is (0)7700 900123

The E.164 format would be +447700900123

Remove the + character

Then Visit

`http://localhost:3000/?message=my message&number=447700900123&subject=My Subject`