An open API service indexing awesome lists of open source software.

https://github.com/martinheidegger/hapi-mailchimp-simple-subscribe

One-liner to add a simple subscribe call to a mailchimp list.
https://github.com/martinheidegger/hapi-mailchimp-simple-subscribe

Last synced: 29 days ago
JSON representation

One-liner to add a simple subscribe call to a mailchimp list.

Awesome Lists containing this project

README

        

# hapi-mailchimp-simple-subscribe

```JavaScript
server.pack.register({
plugin: require("hapi-mailchimp-simple-subscribe"),
options: {
apiKey: "mailchimp-api-key",
listId: "id-of-your-mailchimp-list"
}
}, {
route: {
prefix: "/ml"
}
});
```

And you should be able to do a push request to "/ml/subscribe" with "[email protected]".

Cheers!