Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Some example code for PHP that demonstrates creating an HTTP endpoint in PHP for Amazon's Simple Notification Service.
PHP
branch: master

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.
latest commit bf2d5d59c2
@npflood authored

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
Something went wrong with that request. Please try again.