Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 327
necromancer Avatar asked Sep 17 '25 17:09

necromancer


1 Answers

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).

like image 140
Steffen Opel Avatar answered Sep 20 '25 07:09

Steffen Opel