Demo of how to do server side POST hooks in a Meteor app
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.meteor
packages
README.md
posthooks.css
posthooks.html
posthooks.js
smart.json
smart.lock

README.md

Supporting web hooks in Meteor

See posthooks.js for example code.

To run:

  1. git clone git@github.com:rgould/meteor-posthooks.git
  2. cd meteor-posthooks
  3. mrt (iron-router is required, so we use meteorite to start the app)

In a new terminal, make a request using curl:

  • curl -H "Content-Type: application/json" -d '{"message":"foo"}' http://localhost:3000/hook