necromancer
necromancer

Reputation: 24641

Does Amazon SNS use GET or POST to an http subscription?

I could not find anything documentation regarding method or format of message.

Upvotes: 4

Views: 2091

Answers (1)

Steffen Opel
Steffen Opel

Reputation: 64741

The Amazon Simple Notification Service (Amazon SNS) is using a HTTP POST to deliver a notification message, see the FAQ What are the different delivery formats/transports for receiving notifications?:

  • “HTTP”, “HTTPS” – Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL.

The notification message format is documented in HTTP/HTTPS Notifications JSON Format (the Subscribe/Unsubscribe JSON Formats are documented in Appendix D: JSON Formats as well).

Upvotes: 6

Related Questions