Some example code for PHP that demonstrates creating an HTTP endpoint in PHP for Amazon's Simple Notification Service.
PHP
Switch branches/tags
Nothing to show
Latest commit bf2d5d5 Feb 25, 2014 @npflood Update receiver.php to have correct double equals
Thanks reesew I've made the necessary changes so that there are double equals (comparison) rather than single on lines 125 and 141.

README

While working on an idea for transporting data across the web I stumbled upon Amazon's interesting AWS Simple Notification Service which will deliver a message to multiple endpoints simultaneously and nearly instantly. Most of the examples on the web were for using the email transport mechanism because it is the easiest to set up, but I was interested in using HTTP(S). 

I'm posting my code here as I work on it so that others might benefit from what I've learned.

So far I've added support for:
 - Check Certificate Origin
 - Compare Data Signature to Certificate
 - Automatically Respond to a Subscription Request
 - Receive Notifications