Last active
March 19, 2023 05:22
-
-
Save toshvelaga/ac736b2b7a78da9e7fe9b2d60bc2766d to your computer and use it in GitHub Desktop.
API that checks if user is an individual or a business. If user is a business sends an email notification. cURL implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'https://7a6to3aeyb.execute-api.us-west-1.amazonaws.com/default/notify' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"email_of_user": "USER_THAT_REGISTERED_EMAIL_ADDRESS_HERE", | |
"email_of_recepient": "YOUR_EMAIL_ADDRESS_HERE" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment